HTML DOM Obiekt główny
Główny obiekt
Obiekt THead reprezentuje element HTML <thead>.
Uzyskaj dostęp do obiektu głównego
Możesz uzyskać dostęp do elementu <thead> za pomocą getElementById():
Przykład
var x = document.getElementById("myTHead");
Utwórz główny obiekt
Możesz utworzyć element <thead> za pomocą metody document.createElement():
Przykład
var x = document.createElement("THEAD");
Właściwości obiektu głównego
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 |
Standardowe właściwości i zdarzenia
Obiekt THead obsługuje również standardowe właściwości i zdarzenia .
Powiązane strony
Samouczek HTML: Tabele HTML
Odniesienie HTML: tag HTML <thead>