Oggetto HTML DOM Thead
Oggetto di testa
L'oggetto THead rappresenta un elemento HTML <thead>.
Accedi a un oggetto di testa
Puoi accedere a un elemento <thead> usando getElementById():
Esempio
var x = document.getElementById("myTHead");
Crea un oggetto di testa
Puoi creare un elemento <thead> usando il metodo document.createElement():
Esempio
var x = document.createElement("THEAD");
Proprietà dell'oggetto di testa
Property | Description |
---|---|
align | Not supported in HTML5. Use style.textAlign instead. Sets or returns the horizontal alignment of the content inside the thead element |
ch | Not supported in HTML5. Sets or returns an alignment character inside the thead 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 THead supporta anche le proprietà e gli eventi standard .
Pagine correlate
Esercitazione HTML: Tabelle HTML
Riferimento HTML: tag HTML <thead>