Designates a series of rows within the body of a table.
This element must be placed within a table element.
Tags you can use within: td, th and tr elements.
<table border="1px">
<thead>
<tr>
<th>Fruit</th>
<th>Cost per kilo</th>
</tr>
</thead>
<tbody>
<tr>
<td>Apple</td>
<td>$5</td>
</tr>
<tr>
<td>Pear</td>
<td>$10.50</td>
</tr>
<tr>
<td>Peach</td>
<td>$23.30</td>
</tr>
</tbody>
</table>
Fruit | Cost per kilo |
---|---|
Apple | $5 |
Pear | $10.50 |
Peach | $23.30 |