HyperText Markup Language/Tag List/basefont

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


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


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

Required attributes[edit]


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


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


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).