<tr> (tag HTML) crea le righe di una tabella (table row), annidato all’interno del tag HTML <table>, suo padre necessario.
attributi
speciali
Nessuno.
globali
Caricamento…
scheda tecnica
– Categoria: nessuna
– Tipo: blocco
– Intefraccia DOM: HTMLTableRowElement
– Supporto browser: totale
Sintassi
<table> <tr> <td></td> </tr> <table>
Default CSS
tr {
display: table-row;
vertical-align: inherit;
border-color: inherit;
}
Esempio
<table>
<tr>
<td>Cella 1</td>
<td>Cella 2</td>
</tr>
<tr>
<td>Cella 3</td>
<td>Cella 4</td>
</tr>
</table>
| Cella 1 | Cella 2 |
| Cella 3 | Cella 4 |
Contenuti correlati
- CSS
- HTML
- JavaScript
- jQuery
- PHP
- SQL
- WORDPRESS
0 Comment