Note that tags used in one cell do not carry over to other cells. Tags from
outside the table do not apply within the table.
| Tag |
Attribute |
Function |
| <table>...</table> |
|
Creates a table that can contain any number of rows(<tr> tags)
|
|
border="..." |
table borders in pixels |
|
cellspacing="..." |
amount of space between cells in the table |
|
cellpadding="..." |
amount of space in pixels between the edges of the cell and its content |
|
width="..." |
width of table in pixels or as a percentage of page width |
|
height="..." |
height of table in pixels |
|
bgcolor="..." |
Background color of all cells in the table that do not contain their
own background or bgcolor attribute |
|
background="..." |
Background image to tile within all cells in the table that do not
contain their own background or bgcolor attribute (IE3 or later only)
|
| <tr>...</tr> |
|
Defines a table row that can contain any number of cells(<td> tags)
|
|
align="..." |
The horizontal alignment of the contents of the cells within this row.
Possible values are left, right, and center |
|
valign="..." |
The vertical alignment of the contents of the cells within this row.
Possible values are top, middle, bottom, and
baseline |
|
bgcolor="..." |
Background color of all cells in the row that do not contain their
own background or bgcolor attribute |
|
background="..." |
Background image to tile within all cells in the row that do not
contain their own background or bgcolor attributes (IE3 or later only)
|
| <td>...</td> |
|
Defines a table data cell(<td> tags)
|
|
align="..." |
The horizontal alignment of the contents of the cell. Possible values
are keft, right, and center |
|
valign="..." |
The vertical alignment of the contents of the cell. Possible values are
top, middle, and bottom |
|
bgcolor="..." |
Background color of the cell |
|
background="..." |
Background image to tile within the cell. |
|
rowspan="..." |
The number of rows this cell will span. |
|
colspan="..." |
The number of columns this cell will span. |
|
width="..." |
width of this column of cells, in pixels or as a percentage of page width |
| <th>...</th> |
|
Defines a table heading cell.(Takes all the same attributes as
<td>)
|