<table>
<caption>Przykładowa tabela ilustrująca....</caption>
<colgroup id="k1">
<!-- kolumna pierwsza -->
<col />
</colgroup>
<colgroup id="k2">
<!-- dwie kolumny: druga i trzecia są zgrupowane -->
<col />
<col />
</colgroup>
<colgroup id="k3">
<!-- trzy kolumny: czwarta, piąta i szósta są zgrupowane -->
<col />
<col />
<col />
</colgroup>
<thead>
<tr>
<th>A</th>
<th>B</th>
<th>C</th>
<th>D</th>
<th>E</th>
<th>F</th>
</tr>
</thead>
<tfoot>
<tr>
<th>A</th>
<th>B</th>
<th>C</th>
<th>D</th>
<th>E</th>
<th>F</th>
</tr>
</tfoot>
<tbody>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
<td>4</td>
<td>5</td>
<td>6</td>
</tr>
</tbody>
</table>
Listing 17.9. Tabela o sześciu kolumnach podzielonych na trzy grupy
Rozdział 17. Tabele