Table code must include a <caption>, and use <th> for cells that are column or row headings.
The site stylesheet manages the formatting. Don’t put any extra formatting into the table code.
Column heading 1 | Column heading 2 | Column heading 3 |
---|---|---|
Row heading | Cell contents | Cell contents |
[greybox]
<table valign="top">
<caption>Caption text here.</caption>
<tbody>
<tr>
<th scope”col”>Column heading 1</th>
<th scope”col”>Column heading 2</th>
<th scope”col”>Column heading 3</th>
</tr>
<tr>
<th scope=”row>Row heading</th>
<td>Cell contents</td>
<td>Cell contents</td>
</tr></tbody></table>[/greybox]