Which of the tables below has both of the following:
<caption>, but it can also come from aria-labelledby or aria-label.)<th>)This example uses a <caption> to label the <table> and <th> for column and row headers.
| Habitat | Mammal | Bird | Reptile |
|---|---|---|---|
| Forest | Deer | Owl | Lizard |
| Ocean | Dolphin | Albatross | Turtle |
| Desert | Camel | Falcon | Gecko |
| Wetland | Otter | Heron | Crocodile |
<table>
<caption>
Animals found in different habitats
</caption>
<thead>
<tr>
<th>Habitat</th>
<th>Mammal</th>
<th>Bird</th>
<th>Reptile</th>
</tr>
</thead>
<tbody>
<tr>
<th>Forest</th>
<td>Deer</td>
<td>Owl</td>
<td>Lizard</td>
</tr>
<tr>
<th>Ocean</th>
<td>Dolphin</td>
<td>Albatross</td>
<td>Turtle</td>
</tr>
<tr>
<th>Desert</th>
<td>Camel</td>
<td>Falcon</td>
<td>Gecko</td>
</tr>
<tr>
<th>Wetland</th>
<td>Otter</td>
<td>Heron</td>
<td>Crocodile</td>
</tr>
</tbody>
</table>
This example uses only <td> elements. It does not include a <caption> or <th> header cells.
| Habitat | Small bird | Water bird | Bird of prey |
| Forest | Robin | Duck | Owl |
| Wetland | Wren | Heron | Kite |
| Coast | Swallow | Pelican | Osprey |
| Grassland | Finch | Swan | Falcon |
<h3>Birds found in different habitats</h3>
<table>
<thead>
<tr>
<td class="fake-header">Habitat</td>
<td class="fake-header">Small bird</td>
<td class="fake-header">Water bird</td>
<td class="fake-header">Bird of prey</td>
</tr>
</thead>
<tbody>
<tr>
<td class="fake-header">Forest</td>
<td>Robin</td>
<td>Duck</td>
<td>Owl</td>
</tr>
<tr>
<td class="fake-header">Wetland</td>
<td>Wren</td>
<td>Heron</td>
<td>Kite</td>
</tr>
<tr>
<td class="fake-header">Coast</td>
<td>Swallow</td>
<td>Pelican</td>
<td>Osprey</td>
</tr>
<tr>
<td class="fake-header">Grassland</td>
<td>Finch</td>
<td>Swan</td>
<td>Falcon</td>
</tr>
</tbody>
</table>