
The Complete Idiot's HTML Tag Reference
| Index
| Previous Tag: <BASE>
| Next Tag: <BDO>
|
<BASEFONT>
Sets one or more default font settings that apply to all text between the tag and its end tag.
Support:
-
Notes:
- This tag requires the </BASEFONT> end tag.
- This tag is deprecated. Use the font-size style instead.
Attributes:
- CLASS
= "Text"
The style sheet class used by the tag.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
Not supported |
3.0 and later |
4.0 and later |
Notes:
-
You can specify two or more classes; be sure to separate each class name with a space.
- COLOR
= "Color value"
The color of the text.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
4.0 and later |
1.0 and later |
Not supported |
Notes:
- FACE
= "Text"
The typeface of the text.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
4.0 and later |
1.0 and later |
Not supported |
Notes:
- ID
= "Text"
An alphanumeric string that uniquely identifies the tag.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
4.0 and later |
3.0 and later |
4.0 and later |
Notes:
-
Although you can use letters and numbers for the ID, the first character must be a letter.
- LANG
= "Text"
The language used by the tag's attribute values and text content.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
Not supported |
4.0 and later |
Not supported |
- SIZE
= Positive integer
(Required)
The relative size of the text.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
3.2 and later |
1.0 and later |
1.0 and later |
Notes:
-
Use values between 1 and 7. If you need different text sizes, you can use the <FONT> tag's SIZE attribute to set a relative size using a plus sign (+) for larger text or a minus sign (-) for smaller text.
- This attribute is deprecated.
- STYLE
= "Text"
The style or styles to use with the tag.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
Not supported |
3.0 and later |
4.0 and later |
Notes:
-
If you enter multiple style properties, separate each one with a semi-colon (;).
Example:
Regular text
<BASEFONT SIZE=4>
This text appears as font size 4.
</BASEFONT>
How It Looks:
- Regular text
This text appears as font size 4.
| Index
| Previous Tag: <BASE>
| Next Tag: <BDO>
|
|