|
Another feature
of the HTML language is the ability to apply color
to text. Again the browser must be able to support
this feature or it will either ignore the tags,
or display the tags as text.
The following is
an example of specify a particular piece of text
in the color green.
<html>
<head>
<title>Example of Formatting Text</title>
</head>
<body>
<p><font
COLOR="#00FF00">This
text is Green</font></p>
</body>
</html> |
As you can see this was accomplished with the
use of the <font> tag, and the closing
tag is the </font> tag. COLOR is
a parameter to the <font> tag. It
is used to identify the color that is to be used
to display the text that is between the opening
and closing Font Tag.
The following is
an example of some of the COLOR codes (Hexadecimal
Codes) that will be used with the COLOR parameter
in a <font> tag.
Color |
Color
Code
|
|
Red
|
#FF0000 |
|
Turquoise
|
#00FFFF |
|
Light
Blue
|
#0000FF |
|
Dark
Blue
|
#0000A0 |
|
Light
Purple
|
#FF0080 |
|
Dark
Purple
|
#800080 |
|
Yellow
|
#FFFF00 |
|
Pastel
Green
|
#00FF00 |
|
Pink
|
#FF00FF |
|
|
|
Color
|
Color
Code
|
|
White
|
#FFFFFF |
|
Light
Grey
|
#FFFFCC |
|
Dark
Grey
|
#808080 |
|
Black
|
#000000 |
|
Orange
|
#FF8040 |
|
Brown
|
#804000 |
|
Burgundy
|
#800000 |
|
Forest
Green
|
#808000 |
|
Grass
Green
|
#408080 |
|
NOTE: If your web browser does not support some
of these tags, you will not see the formatting
effect. Enetrics Communications recommends you download
the Netscape
Communicator Web browser or the Microsoft
Internet Explorer Browser. Be sure your
ISP will support these Browsers.
Bold
Text
Underlined
Text
Italicized
Text
Superscript
Subscript
Strikethrough
Strong
Blink
Citations
Sample
Definition
Code
Variable
Typewriter
Text
Color
Text
Size and Fonts
|