table : Table start

[next] [prev] [prev-tail] [tail] [up]

#### 5.3.30 table : Table start

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 (226), caption (167), tr (230), p (207)

[next] [prev] [prev-tail] [front] [up]