<tfoot> (tag HTML) definisce semanticamente la parte inferiore (o piede) della tabella, così distinguendolo dalla testa (tag HTML <thead>) e dal corpo (tag HTML <tbody>) della tabella stessa. Alcuni web browser possono stampare gli Elementi HTML <tfoot> e <thead> su ciascuna pagina se la relativa tabella si sviluppa su più pagine.
attributi
speciali
Nessuno.
globali
Caricamento…
scheda tecnica
– Categoria: nessuna
– Tipo: [in costruzione]
– Intefraccia DOM: HTMLTableSectionElement
– Supporto browser: totale
Sintassi
<table>
<thead></thead>
<tbody></tbody>
<tfoot>
[oggetto]
</tfoot>
</table>
Default CSS
tfoot {
display: table-footer-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