Basefont

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



   Quick Statistics   
End Tag:
   Required
Standards Details:
Deprecated in HTML 4.x and XHTML 1.0. Dropped in XHTML 1.1.
XHTML Modules:
Legacy
CSS 'display' Type:
"inline"
CSS Mapping:
font-size, font-family, color
Default Rendering:
Depends on the attribute values set
Official Docs:
HTML 4.x, XHTML 1.0
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] [X1|X1.1] [IE3|M|N4B5-N4.x|O7]
%Accessibility%
[2|3|3.2|4] [X1|X1.1] [IE4B1|M|N|O]
%Events%
[2|3|3.2|4] [X1|X1.1] [IE4B1|M|N|O]
%Language%
[2|3|3.2|4] [X1|X1.1] [IE4|M|N|O]

Specific Attributes
Color
[2|3|3.2|4] [X1|X1.1] [IE1|M|N|O]
Standards Details: Deprecated in HTML 4.x/XHTML 1.0; Dropped in XHTML 1.1;
Required? No
Description:
This attribute specifies the default color of the enclosed text.
Values: CDATA. [The standard HTML color specification methods apply.]
Face
[2|3|3.2|4] [X1|X1.1] [IE1|M|N|O]
Standards Details: Deprecated in HTML 4.x/XHTML 1.0; Dropped in XHTML 1.1;
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: CDATA. [Comma separated list of font names. Font names with spaces are encapsulated with single quote characters.]
Size
[2|3|3.2|4] [X1|X1.1] [IE1|M|N1-N4.x|O2.1]
Standards Details: Deprecated in HTML 4.x/XHTML 1.0; Dropped in XHTML 1.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: CDATA. [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...