HTML DOM THead-objekt
THead object
The THead object represents the HTML <thead> element.
Access THead object
You can use getElementById() to access the <thead> element:
var x = document.getElementById("myTHead");
Create THead object
You can use the document.createElement() method to create a <thead> element:
var x = document.createElement("THEAD");
THead object properties
egenskaper | Description |
---|---|
align |
HTML5 does not support.Använd istället style.textAlign. Sets or returns the horizontal alignment method of the content within the thead element. |
ch |
HTML5 does not support. Sets or returns the alignment character within the thead element. |
chOff |
HTML5 does not support. Sets or returns the horizontal offset of the ch attribute. |
vAlign |
HTML5 does not support.Använd istället style.verticalAlign. Ställ in eller returnera den vertikala justeringen av innehållet i thead-elementet. |
Standardegenskaper och händelser
THead-objektet stöder standarderegenskaperochHändelser.