| Tag |
Tag attribute |
Function |
| <table> |
|
begins a table. |
| |
border="..." |
sets the border width. |
| |
cellspacing="..." |
space between the table data cells. |
| |
cellpadding="..." |
space between the inner edge of a cell and its content. |
| |
align="..." |
aligns the table to the left, right or center of page. |
| |
width="..." |
the width of the table, in pixels or percentage of page
width. |
| |
bgcolor="..." |
background color for all cells that do not have a
background color or image specified. |
| |
background="..." |
background image for all cells that do not have a
background color or image specified. |
| |
bordercolor="..." |
border color for the table. |
| |
bordercolorlight="..." |
border color light to create a 3d effect. (ie only) |
| |
bordercolordark="..." |
border color dark to create a 3d effect. (ie only) |
| |
valign="..." |
vertical alignment of the content, values are top or
bottom. |
| <tr> |
|
establishes a table row. |
| |
align="..." |
horizontal alignment of the content of all cells within this row. values are left, right and center. |
| |
valign="..." |
vertical alignment of all cells within this row. values are top, middle, bottom, and baseline. |
| |
bgcolor="..." |
background color of all cells within this row that don't have their own bg color or background image. |
| |
background="..." |
background image of all cells within this row that don't have their own bg color or background image. |
| |
bordercolor="..." |
border color for this row (ie only). |
| |
bordercolorlight="..." |
light border color for 3d look (ie only). |
| |
bordercolordark="..." |
dark border color for 3d look (ie only). |
| <td> |
|
begins the table data cell. |
| |
align="..." |
horizontal alignment of the cell content. values are left, right and center. |
| |
valign="..." |
vertical alignment of the cell content. values are top, middle, bottom, and baseline. |
| |
rowspan="..." |
the number of rows the cell will span. |
| |
colspan="..." |
the number of columns the cell will span. |
| |
nowrap |
doesn't automatically wrap the cell content. |
| |
width="..." |
the width of this cell, expressed in pixels or percentage. |
| |
bgcolor="..." |
background color of the cell. |
| |
background="..." |
background image of the cell. |
| |
bordercolor="..." |
border color of the cell (ie only). |
| |
bordercolorlight="..." |
light border color for 3d look. (ie only) |
| |
bordercolordark="..." |
dark border color for 3d look. (ie only) |