Objekt HTML DOM THead
Předmět Hlava
Objekt THead představuje HTML element <thead>.
Přístup k objektu THead
K prvku <thead> se dostanete pomocí getElementById():
Příklad
var x = document.getElementById("myTHead");
Vytvořte objekt THead
Element <thead> můžete vytvořit pomocí metody document.createElement():
Příklad
var x = document.createElement("THEAD");
Vlastnosti objektu Hlava
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 |
Standardní vlastnosti a události
Objekt THead také podporuje standardní vlastnosti a události .
Související stránky
HTML tutoriál: HTML tabulky
HTML reference: HTML značka <thead>