I am confused about this ques that is it, mandatory to use any of the below tags when we use <thead>
tag?
<tbody>
<tfoot>
Both of the above or none of the above?
I am confused about this ques that is it, mandatory to use any of the below tags when we use <thead>
tag?
<tbody>
<tfoot>
Both of the above or none of the above?
Neither are required! But it's a cleaner to add tbody
when you have a thead
.
<table>
<thead>
<tr>
<th>Month</th>
<th>Savings</th>
</tr>
</thead>
<tbody>
<tr>
<td>January</td>
<td>$100</td>
</tr>
<tr>
<td>February</td>
<td>$80</td>
</tr>
</tbody>
</table>