
Opening tag : <Font>
Closing tag: </Font>
Purpose:
The Font tag allows you to affect the style of the text which appears between the opening and closing font tags. It is very useful for changing the color or size of text.
Attributes:
Class=class
- Specifies a class to use for the style - perhaps from the CSS.
Color=color
- Specifies the color of the text between the tags.
Dir=direction
- Useful for languages that should be read from right to left.
Face=fontname
- The face attribute selects the font to be used.
ID=name
- Using an ID allows you to dynamically manage the text.
Lang=language
- Specifies the language of the text.
Size=#
- Changes the size of the font, the choice is from 1-7, with 7 a larger font size.
Style=style
- Specifies a Style for the font to use from the CSS.
Title=title
- Fonts also can be given titles - the titles won't appear anywhere on the page, but it could be useful for keywords.
Example:
<Font color="red" size="4" face="Arial">Here is some text</Font>
Related Tags:
<B></B> - Bold Tag.
<Basefont></Basefont> - Basefont Tag.
<Big></Big> - Big Tag.
<Blink></Blink> - Blink Tag.
<Blockquote></Blockquote> - Blockquote Tag.
<BR> - Break Tag.
<Center></Center> - Center Tag.
<Cite></Cite> - Cite Tag.
<Code></Code> - Code Tag.
<EM></EM> - Emphasis Tag.
Back to:
Alphabetical Guide
Guide By Type