HTML and CSS Reference
In-Depth Information
TABLE 10.3
Continued
Attribute
Applied to Element
Use
Used to set alignment of all cells in
a column. Possible values are left ,
center , and right .
<col>
Used to set alignment of all cells in
a column group. Possible values are
left , center , and right .
<colgroup>
Deprecated in HTML 4.01. Possible
values are left , center , and
right . align=“center” isn't sup-
ported in HTML 3.2 and older
browsers. Determines the alignment
of the table and indicates that text
following the table will be wrapped
alongside it.
<table>
Deprecated in HTML 4.01. Indicates
which side of the table the caption
will be placed. The possible values
for most browsers are top and bot-
tom . HTML 4.01 browsers also sup-
port left and right . In Internet
Explorer, the possible values are
left , right , and center , and they
indicate the horizontal alignment of
the caption.
<caption>
(HTML 3.2, deprecated in HTML
4.01.) Changes the background
color of that table element. Cell col-
ors override row colors, which over-
ride table colors. The value can be
a hexadecimal color number or a
color name.
bgcolor
All
Indicates whether the table will be
drawn with a border. The default is
no border. If border has a value, it's
the width of the shaded border
around the table.
border
<table>
(Internet Explorer extension.) Can be
used with any of the table elements
to change the color of the border
around that elements. The value
can be a hexadecimal color number
or a color name.
bordercolor
<table>
 
 
Search WWH ::




Custom Search