HTML 101
Tables
What Are Tables For?
- Displaying tabular data
- Not for layout
Anatomy of a table
<table>
<caption>Members of Luis's One-Man-Band</caption>
<tr>
<th scope="col">Name</th>
<th scope="col">Instrument</th>
</tr>
<tr>
<th scope="row">Luis</th>
<td>All of them</td>
</tr>
</table>
tableElementcaptionElementtrElement: row of cellsthElement: header celltdElement: data cellscopeAttribute