The HTML FONT tag allows you to specify a font for displaying text and
also helps you to control the size and color of your text. The FONT tag
always requires at least one of the following parameters:
- SIZE
- Specify the size of your font.
- COLOR
- Specify the color of your text.
- FACE
- Specify which font will be used to display your text.
Here's an example of a FONT tag:
<FONT FACE="MS Sans Serif,Helvetica" SIZE="1"
COLOR="#cf3f3f">
Every FONT tag should be followed by a
</FONT>
The parameters that are coded in your FONT tag affect the text that
appears between the two tags.
The size of the font is specified as a number. Here are some common
font sizes:
1
2
3
4
You can also specify your SIZE relative to the current font, as
"+1" or "-2"
Notice that you can specify multiple font names in the FACE parameter. If
the first font specified is not installed on the computer that is used to view
your document, the second font will be used. If none of the fonts that you
have specified are installed on that computer, the default font for that
browser (on that computer) will be used to display text.