HyperText Markup Language/Tag List/font

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Use[edit | edit source]

Changes the appearance of the text. This tag has been deprecated.

Example[edit | edit source]

<p><font face="Arial, Sans MS" size="14" color="blue">This is a paragraph that uses the
font tag and its attributes. This paragraph should also come up in a blue colour.</font></p>

Required attributes[edit | edit source]

face[edit | edit source]

Changes the font of the text.

Optional attributes[edit | edit source]

color[edit | edit source]

Changes the colour of the text.

size[edit | edit source]

Changes the size of the text.

Standard attributes[edit | edit source]

More info[edit | edit source]

A link to a page with more info, then the name of the site the info came from (i.e. W3Schools).