HyperText Markup Language/Tag List/basefont

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

Use[edit]

Used to declare the default color, face and size in the text on the webpage. This is now a deprciated tag, use CSS instead.

Example[edit]

<basefont face="Arial" color="black" size="4" />

Required attributes[edit]

color[edit]

For declaring the color of the text. Can be declare as a HEX color or by color name

face[edit]

To declare the font that will be used in the text.

size[edit]

For specifying the size of the text. Choose a number between One to Seven. Three is the default.

Standard attributes[edit]

More info[edit]

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