I have a table that gets a certain formatting when the elements have a tbody
. Because of this formatting, I thought about using tbody
twice in the same table, but I was wondering if that would be valid.
So, I would like to ask this question: Can I use more than tbody
, tfoot
or thead
in the same table?
For example:
<table class="table">
<thead>
<tr>
<td colspan=2>
<h1>Título</h1>
</td>
</tr>
</thead>
<thead>
<tr>
<th>ID</th>
<th>Nome</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Wallace</td>
</tr>
</tbody>
</table>
In the above example, would it be invalid to use two thead
?