The Table Tags
|
<TABLE> </TABLE>
|
This is the main container for all the other table tags, which
will be ignored if they aren't inside a TABLE tag.
|
ALIGN
(left, right, center, justify, bleedleft, bleedright)
|
Specifies whether the table floats to the left or right,
with the main text flow continuing around it.
|
|---|
|
WIDTH
|
The width of the table.
The "%" sign may be used to indicate percentage width of the space
between the left and right margins, e.g. width="50%".
|
|
BGCOLOR
|
Background color for the table, row, or cell.
|
|
BORDER
|
The width of the border framing the the table.
By default tables have no borders.
The default units are screen pixels.
|
|
CELLPADDING
|
The number of pixels buffering cell content from the cell container.
|
|
CELLSPACING
|
The number of pixels separating cells from each other.
|
|
|---|
|
<CAPTION> </CAPTION>
|
CAPTION tags should
appear inside the TABLE but not inside table rows or cells.
The ALIGN attribute controls caption placement relative to the
table:
TOP (the default), BOTTOM, LEFT and RIGHT.
Like table cells, any BODY HTML can appear in a caption.
|
|
<TR> </TR>
|
Table Row.
Table rows act as containers for table cells; the end tag may
technically be omitted, but this may cause problems for some browsers.
The number of rows in a table is determined
by how many TR tags are in it.
TR can have
both the ALIGN and VALIGN attributes, which if
specified become the default alignments for all cells in this row.
Values for ALIGN are left, center, and right.
Values for VALIGN are top,
middle, bottom, and baseline.
|
View the source of this page for examples.
|