HyperText Markup Language/Tag List/basefont

From Wikibooks, the open-content textbooks collection

Jump to: navigation, search

Contents

[edit] Use

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

[edit] Example

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

[edit] Required attributes

[edit] color

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

[edit] face

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

[edit] size

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


[edit] Standard attributes

[edit] color

[edit] face

[edit] size

[edit] More info

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

In other languages