FONT COLOR
The web has the
following 16 standard colours which can be defined by either a hexidecimal
number (prefixed by a hash mark) or the color name.
|
Black = "#000000" |
|
Green = "#008000" |
|
Silver = "#C0C0C0" |
|
Lime = "#00FF00" |
|
Gray = "#808080" |
|
Olive = "808000" |
|
White = "#FFFFFF" |
|
Yellow = "#FFFF00" |
|
Maroon = "#800000" |
|
Navy = "#000080" |
|
Red = "#FF0000" |
|
Blue = "#0000FF" |
|
Purple = "#800080" |
|
Teal = "#008080" |
|
Fuchsia = "#FF00FF" |
|
Aqua = "#00FFFF" |
The color can be defined for a paragraph as follows.
You do this by using the font color tag.
<p><font color="fuchsia">This text is fuchsia.</font></p>
will look as follows:
This text is fuchsia.
Note: <font color="#FF00FF"> will do the same thing.
Using the hexidecimal number you are
able to use all 16 million colors available, but it suggested you limit
your choice to the 16 standard colors.
FONT TYPE
There are hundreds of Fonts
available. Five often found on web sites are listed below.
Arial |
Comic
Sans MS |
Tahoma |
Times New Roman |
Verdana |
It is possible to
define the font by using the font face tag.
<font face="Comic
Sans MS">
The name of the font
type required is placed inside the quotes. Use the </font> tag to end
the command.
FONT SIZE
It is possible to
define the size of font text displayed. Seven standard sizes are
defined.
1 |
8pt |
2 |
10pt |
3 |
12pt |
4 |
14pt |
5 |
18pt |
6 |
24pt |
7 |
36pt |
The font size is
defined using the font size tag.
<font size="4">
The font is
then 14pt. Use the
</font> tag to end the command.
COMBINATIONS OF FONT INFORMATION
It is possible to
combine color, type and size in a single tag, e.g.
<font color="red"
face="arial" size="3">
Use the </font> tag
to end the command.
|