Oggetto HTML DOM TBody
Oggetto del corpo
L'oggetto TBody rappresenta un elemento HTML <tbody>.
Accedi a un oggetto TBody
Puoi accedere a un elemento <tbody> usando getElementById():
Esempio
var x = document.getElementById("myTBody");
Crea un oggetto TBody
Puoi creare un elemento <tbody> usando il metodo document.createElement():
Esempio
var x = document.createElement("TBODY");
Proprietà dell'oggetto TBody
Property | Description |
---|---|
align | Not supported in HTML5. Use style.textAlign instead. Sets or returns the horizontal alignment of the content inside the tbody element |
ch | Not supported in HTML5. Sets or returns an alignment character inside the tbody element |
chOff | Not supported in HTML5. Sets or returns the horizontal offset of the ch property |
vAlign | Not supported in HTML5. Use style.verticalAlign instead. Sets or returns the vertical alignment of the content within a thead element |
Proprietà ed eventi standard
L'oggetto TBody supporta anche le proprietà e gli eventi standard .
Pagine correlate
Esercitazione HTML: Tabelle HTML
Riferimento HTML: tag HTML <tbody>