Data tables

The examples on this page show the required markup for accessible data tables. The key points are:

Simple table (column headers only)

Members of the Spice Girls

First name Last name Band name Date of birth Place of birth
Emma Bunton Baby 21 January 1976 Watford
Geri Halliwell Ginger 6 August 1972 London
Victoria Beckham Posh 17 April 1974 Harlow
Melanie Brown Scary 29 May 1975 Leeds
Melanie Chisholm Sporty 12 January 1974 Whiston

Table with column headers and row headers

Spice Girls' housekeeping rota

Day Baby Ginger Posh Scary Sporty
Monday Washing up Cooking Shopping Dusting Vacuuming
Tuesday Vacuuming Washing up Cooking Shopping Dusting
Wednesday Dusting Vacuuming Washing up Cooking Shopping
Thursday Shopping Dusting Vacuuming Washing up Cooking
Friday Cooking Shopping Dusting Vacuuming Washing up