<tbody> (tag HTML) definisce semanticamente il corpo della tabella, così distinguendolo dalla testa (tag HTML <thead>) e dai piedi (tag HTML <tfoot>) della tabella stessa.
attributi
speciali
Nessuno.
globali
Caricamento…
scheda tecnica
– Categoria: nessuna
– Tipo: [in costruzione]
– Intefraccia DOM: HTMLTableSectionElement
– Supporto browser: totale
Sintassi
<table>
<thead></thead>
<tbody>
[oggetto]
</tbody>
<tfoot></tfoot>
</table>
Default CSS
tbody {
display: table-row-group;
vertical-align: middle;
border-color: inherit;
}
Esempio
<table>
<thead>
<tr>
<th>Cella 1</th>
<th>Cella 2</th>
</tr>
</thead>
<tbody>
<tr>
<td>Cella 3</td>
<td>Cella 4</td>
</tr>
</tbody>
<tfoot>
<tr>
<td>Cella 5</td>
<td>Cella 6</td>
</tr>
</tfoot>
</table>
| Cella 1 | Cella 2 |
|---|---|
| Cella 3 | Cella 4 |
| Cella 5 | Cella 6 |
0 Comment