KnowledgeBoat Logo
|

Computer Applications

Which tag(s) do we use to change the size and style (face) of the text of an HTML file viewed on a web browser? Also, explain any two attributes used with this tag.

HTML Intro

3 Likes

Answer

To change the size and style (face) of text in an HTML file, we can use the <FONT> tag. The two attributes used with <FONT> tag are:

  1. size — This attribute sets the size of the font of text.
  2. face — This attribute sets the font type of the text.

The font tag is used as follows:

<FONT FACE = "ARIAL" SIZE = "3"> Hello World </FONT>

Answered By

3 Likes


Related Questions