Tables are meant to display data in a tabular format. Tables are also widely used for page layout purposes. <caption>...</caption> Usage | Displays a table caption. | Attributes | core, i18n, events. |
<table>...</table> Usage | Creates a table. | Attributes | core, i18n, events. | width="..." Table width. | cols="..." The number of columns. | border="..." The width in pixels of a border around the table. | frame="..." Sets the visible sides of a table (void, above, below, hsides, lhs, rhs, vsides, box, border). | rules="..." Sets the visible rules within a table (none, groups, rows, cols, all). | cellspacing="..." Spacing between cells. | cellpadding="..." Spacing in cells. |
<td>...</td> Usage | Defines a cell's contents. | Attributes | core, i18n, events. | axis="..." Abbreviated name. | axes="..." axis names listing row and column headers pertaining to the cell. | rowspan="..." The number of rows spanned by a cell. | colspan="..." The number of columns spanned by a cell. | char="..." Sets a character on which the column aligns. | charoff="..." Offset to the first alignment character on a line. |
<th>...</th> Usage | Defines the cell contents of the table header. | Attributes | core, i18n, events. | axis="..." Abbreviated name. | axes="..." axis names listing row and column headers pertaining to the cell. | rowspan="..." The number of rows spanned by a cell. | colspan="..." The number of columns spanned by a cell. | char="..." Sets a character on which the column aligns. | charoff="..." Offset to the first alignment character on a line. |
<tr>...</tr> Usage | Defines a row of table cells. | Attributes | core, i18n, events. | char="..." Sets a character on which the column aligns. | charoff="..." Offset to the first alignment character on a line. |
|