<table>
<thead>
...
</thead>
<tbody> <!-- table body declaration -->
<tr> <!-- table row start -->
<td>Salad</td> <!-- table body cell -->
<td>Delicious Cobb Salad</td> <!-- table body cell -->
<td>$7.99</td> <!-- table body cell -->
</tr> <!-- end table row -->
</tbody> <!-- end table body -->
</table>
- What are table headings? Send the answer to your mentor.
Table headings or the
<thead>
tag is used to group header content in an HTML table. It is used with the<tbody>
and<tfoot>
to specify each part of a table, the header, the body, and the footer. - Create a table with multiple rows. The table can be blank. Including table data is optional. Send the code to your mentor.
<table>
<thead>
</thead>
<tbody>
<tr>
<td>optinal table data </td>
</tr>
<tr>
</tr>
</tbody>
</table>