The HTML table element (<table>) is divided into rows (<tr>), and each row may contain a number of table data cells (<td>) or (<th>).

The <table>, <tr>, <td>, and <th> elements support two attributes: (i) align and (ii) valign.

(i) align

You use align to horizontally arrange items within a table cell. The possible values are as follows:

(ii) valign

You use valign to vertically arrange items within a table cell. The possible values are as follows:

The table element shown in the figure below will be rendered in a DocBook format as in figure below.

HTML Tag for a Fragment of Table

DocBook Tag for a Fragment of Table