Computer Science, asked by siddhesh20079, 4 months ago

<font face="Comic Sans MS"> Is a correct attribute. *


Yes

No

Answers

Answered by emma3006
2

Yes it is correct attribute.

If we want to change the font style of a text in HTML then we write it as -

<font face = " font name" > - - - - - </font>

Answered by anindyaadhikari13
2

Answer:

  • <font face="Comic Sans MS"> - This syntax is correct.

Explanation:

➡ The face attribute of font tag is used to change the font style of any sentence or paragraphs.

Syntax to change font style:

  • <font face="_font_style_"> Content...</font>

We can also change the font style by using CSS properties.

For example, consider this example,

<p class="x">Hello</p>

CSS códe:

p.x {

font-family: "Comic Sans MS";

}

In this case, we use font-family property to change the font style.

Note: If the name of font style have spaces as in case of Comic Sans MS, then the font style must be written inside "" (double quote).

Similar questions