我是将一段文本的颜色和字体标记放在同一个 <h1> 括号 </h1> 中还是分开的?

do i put tags for color and font of a piece of text in the same <h1>bracket</h1> or separate ones?

this is the code, highlighted line where the problem is, i've tried several different fonts and the text just stays the same? i've got the tag right no?

这是代码,突出显示问题所在的行,我尝试了几种不同的字体,但文本保持不变?我的标签对不对?

您应该只使用一个 style 属性。

<h1 style="color:white; font-family:Helvetica;">arial</h1>