


<font>...</font>
The Font element changes properties of a block of text.
Attributes
SIZE
Valid values range from 1 through 7, and the default size is 3. The value
given to size can optionally have a '+' or '-' character in front of it to specify
that it is relative the the document base font size. The default base font
size is 3, and can be changed with the <basefont> element.
Extended Web Tracker Attributes
FGCOLOR
TEXT
The FGCOLOR attribute (which may also be specified as TEXT) is used to specify the text color. The statement takes the following form:
<font fgcolor="#rrggbb">
Where '#rrggbb' is a red-green-blue triplet used to specify the text color.
Note that these values are in hexadecimal.
BGCOLOR
The BGCOLOR attribute is used to specify the background color for a block of text. The
statement takes the following form:
<font bgcolor="#rrggbb">
Where '#rrggbb' is a red-green-blue triplet used to specify the text color.
Note that these values are in hexadecimal.
Examples
The following text shows changing the font size:
<font size=6> changes the font size to 6.</font>
<font size=+2> changes the font size to the basefont size + 2.</font>
The following text shows changing the font foreground color to dark blue and
the background to white:
This text is <font fgcolor=#000080 bgcolor=#ffffff>blue</font>.
The following text shows changing the font foreground color to dark green
while making the text slightly smaller:
This text is <font size=-1 fgcolor=#008000>green</font>.
Also see
<basefont>
<xch_page>