The HTML <table> element represents tabular data — that is, information expressed via a two-dimensional data table.
# | First Name | Last Name | Username |
---|---|---|---|
1 | Zach | Wise | @zlwise |
2 | Joe | Germuska | @joegermuska |
3 | Emily | Withrow | @emilywithrow |
<table>
<thead>
<tr>
<th>#</th>
<th>First Name</th>
<th>Last Name</th>
<th>Username</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">1</th>
<td>Zach</td>
<td>Wise</td>
<td>@zlwise</td>
</tr>
<tr>
<th scope="row">2</th>
<td>Joe</td>
<td>Germuska</td>
<td>@joegermuska</td>
</tr>
<tr>
<th scope="row">3</th>
<td>Emily</td>
<td>Withrow</td>
<td>@emilywithrow</td>
</tr>
</tbody>
</table>