HTML markup for a simple table (continued)
<table>
<caption> <!-- title text for this table --> </caption>
<thead>
<tr>
<th>row 1, col 1 head</th>
<th>row 1, col 2 head</th>
</tr>
</thead>
<tbody> <!-- first table body section -->
<tr>
<td>row 2, col 1</td>
<td>row 2, col 2</td>
</tr>
<tr>
<td>row 3, col 1</td>
<td>row 3, col 2</td>
</tr>
</tbody>
<tbody> <!-- second table body section -->
<tr>
<td>row 4, col 1</td>
<td>row 4, col 2</td>
</tr>
<tr>
<td>row 5, col 1</td>
<td>row 5, col 2</td>
</tr>
</tbody>
<tfoot> <!-- table footer section -->
<tr>
<td>row 6, col 1</td>
<td>row 6, col 2</td>
</tr>
</tfoot>
</table>
Related examples in the same category