The table tag starts a table, as in HTML. A table can contain tr (table row), th (table header
row) or caption tags. Any text surrounding the table must be enclosed in paragraph tags
(p).
Example:
<table>
<caption>
<var>TALignment</var> values and their meanings.
</caption>
<th><td>Value</td><td>Meaning</td></th>
<tr>
<td><var>taLeftJustify</var></td>
<td>Text is displayed aligned to the left.</td>
</tr>
<tr>
<td><var>taRightJustify</var></td>
<td>Text is displayed aligned to the right</td>
</tr>
<tr>
<td><var>taCenter</var></td>
<td>Text is displayed centred.</td>
</tr>
</table>
Will be formatted approximately as follows:
Value | Meaning |
|
|
taLeftJustify | Text is displayed aligned to the left. |
taRightJustify | Text is displayed aligned to the right |
taCenter | Text is displayed centred. |
See also: th (222), caption (163), tr (226), p (203)