Basefont

End Tag: Required
Support Key: 2 | 3 | 3.2 | 4 | IE1 | M | N1 | O2.1
What is it?
Attributes
Tag Example
Parent/Content Model
Tips & Tricks
Browser Peculiarities
= Index DOT Html by Brian Wilson [bloo@blooberry.com] =
Main Index | Element Tree | Element Index | HTML Support History


What is it?
This element changes the default font attributes that all contained text is based on. While none of the attributes for this element are required, this element will not have any effect unless at least one of the attributes is present.

Common Attributes
%Core%
2 | 3 | 3.2 | 4 | IE3 | M | N4B5 | O
%Events%
2 | 3 | 3.2 | 4 | IE4B1 | M | N | O
%Language%
2 | 3 | 3.2 | 4 | IE4 | M | N | O

Specific Attributes
Color
2 | 3 | 3.2 | 4 | IE1 | M | N | O
Required? No
Description:
This attribute specifies the default color of the enclosed text.
Values: An RGB triplet or a special Color name.
Face
2 | 3 | 3.2 | 4 | IE1 | M | N | O
Required? No
Description:
This attribute indicates a specific default font typeface to be used instead of the normal default typeface of the browser. If the system that is viewing the document does not have the font typeface specified by this attribute then the browser default is used instead. To ease portability, multiple typefaces can be specified in the attribute value separated by commas. It will check for availability starting from the style name on the left, working its way right.
Values: Comma separated list of font names. Font names with spaces are encapsulated with single quote characters.
Size
2 | 3 | 3.2 | 4 | IE1 | M | N1 | O2.1
Required? No
Description:
This attribute changes the default size of text contained in FONT elements. Values can be specified relative to the default BASEFONT value of 3 or as absolute values in the size range.
Values:
Integers ranging from 1 (smallest) to 7 (largest) or relative size changes (an integer preceded by a '+' or '-' character) based on a current base default size.
Example
Text Before
<basefont SIZE=5 COLOR="#00ff00" FACE="Arial">this is sample text</basefont>
Text After
Parent Model
%Block Parent%
Content Model
%In-line Content% | %Block Content%
Exceptions: <table>
Tips & Tricks Browser Peculiarities
Boring Copyright Stuff...