Tables are built by using the tags TABLE, TD, TR, and TH. Prior
to Microsoft Internet Explorer version 2.0, the BORDER attribute of the TABLE tag was the
key to properly utilizing a table on your page. If you include the
BORDER attribute, a 3-D shaded border is drawn around the table and
all of the cells in the table:
Or, you can leave the BORDER attribute out and the table edges won't
be visible, which allows the table to be used for page layout (note that while
the text below is "centered" on the page, all lines of the text are left-aligned):
New in Internet Explorer version 2.0 are several additional attributes for the
TABLE tag and its related constructor tags. Most notable are the
attributes that relate to color: BGCOLOR, BORDERCOLOR, BORDERCOLORLIGHT,
and BORDERCOLORDARK. For all of these attributes, you can supply a color
value that is either a hexidecimal RGB color
(in the format "#rrggbb", as in "#FF9900", which results in an orange color),
or as a named color from one of the 16 different color names that IE supports.
The 16 Named Colors
Black |
Silver |
Gray |
White |
Maroon |
Red |
Purple |
Fuchsia |
Green |
Lime |
Olive |
Yellow |
Navy |
Blue |
Teal |
Aqua |
As you can see, the color attributes of tables can provide some interesting effects.
On the next page you can see some more examples.
|