Hi!
I have a question about the <thead>
element. This element is suppose to contain data regarding table’s headings. However, in this example the second row also includes a heading <th>Morning</th>
, as well as the 3rd and 4th row which are not captured in the <thead>
element. How to deal with this situation?
<table>
<thead>
<tr>
<th></th>
<th>Saturday</th>
<th>Sunday</th>
</tr>
</thead>
<tbody>
<tr>
<th>Morning</th>
<td rowspan="2">Work</td>
<td rowspan="3">Relax</td>
</tr>
<tr>
<th>Afternoon</th>
</tr>
<tr>
<th>Evening</th>
<td>Dinner</td>
</tr>
</tbody>
</table>