Attribute | Description | ||
---|---|---|---|
|
Specifies the horizontal alignment of the table. The default is left. |
||
BGCOLOR="color" | Specifies the background color of table cells. The background color of specific cells may differ if specified by attribute BGCOLOR of elements TR, TH and TD. | ||
BORDER="pixels" | Specifies the width of border around the table. If omitted the table has no border. | ||
CELLPADDING="pixels" | Specifies the spacing within cells i.e. between the cell border and cell contents. Default cellpadding is 1. | ||
CELLSPACING="pixels" | Specifies the spacing between cells of the table. Default cellspacing is 2. | ||
HEIGHT="height" | Specifies the table height as: pixels - (e.g. HEIGHT="60"); |
||
WIDTH="width" | Specifies the table width as: pixels - (e.g. WIDTH="60"); |
Attribute | Description | ||
---|---|---|---|
|
Specifies the alignment of the caption relative to the table. The default is top. |
Attribute | Description | ||
---|---|---|---|
|
Specifies the horizontal alignment for each cell in the row. The default is left. | ||
|
Specifies the vertical position of the cell's contents. top - positions data at the top of the cell; middle - centers the cell data vertically (the default value); bottom - positions data at the bottom of the cell. |
||
BGCOLOR="color" | Specifies the background color for the row of the table. The background color of specific cells may differ if specified by attribute BGCOLOR of elements TH and TD. |
Attribute | Description | ||
---|---|---|---|
|
Specifies the horizontal alignment for the
cell's content. The default is left. |
||
|
Specifies the vertical position of the cell's content. top - positions data at the top of the cell; middle - centers the cell data vertically (the default value); bottom - positions data at the bottom of the cell. |
||
BGCOLOR="color" | Specifies the background color for the cell. | ||
COLSPAN="number" | Specifies the number of columns that are spanned by the cell. | ||
ROWSPAN="number" | Specifies the number of rows that are spanned by the cell. |