HTML Tables
A table is built row by row. <table> wraps it, each <tr> is a row, <th> is a header cell and <td> is a normal cell.
<table>
<tr><th>Name</th><th>Age</th></tr>
<tr><td>Sam</td><td>29</td></tr>
</table>
Try it yourself
Loading editor…
Tables are for tabular data, not page layout. Use CSS for layout — the Flexbox lesson in the CSS track shows how.