table
element with caption
, thead
, tbody
, tfoot
, tr
, th
and td
Lemons | Pears | |
---|---|---|
Wholesale | £1.00 | £1.50 |
Retail | £2.00 | £2.50 |
Increase: wholesale versus retail | £1.00 | £1.00 |
<table border="1">
<caption>Prices for lemons and pears in London</caption>
<thead>
<tr>
<td></td>
<th>Lemons</th>
<th>Pears</th>
</tr>
</thead>
<tbody>
<tr>
<th>Wholesale</th>
<td>$1.00</td>
<td>$1.50</td>
</tr>
<tr>
<th>Retail</th>
<td>$2.00</td>
<td>$2.50</td>
</tr>
</tbody>
<tfoot>
<tr>
<th>Increase: wholesale versus retail</th>
<td>$1.00</td>
<td>$1.00</td>
</tr>
</tfoot>
</table>
Data table example from http://usability.com.au/2005/06/accessible-data-tables-2005/