Jump to content

HyperText Markup Language/Tag List/basefont

From Wikibooks, open books for an open world

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

Example

[edit | edit source]
<basefont face="Arial" color="black" size="4" />

Required attributes

[edit | edit source]

color

[edit | edit source]

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