13
I have a table that gets a certain formatting when the elements have a tbody
. Because of this formatting, I thought to use the tbody
twice on the same table, but I wondered if this would be valid.
So I’d like to clear that doubt: Can I use more than one 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, it would be invalid to use two thead
?