HTML DOM THead Object
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
Properties | Description |
---|---|
align |
Not supported in HTML5.Please use instead style.textAlign. Sets or returns the horizontal alignment of the content within the thead element. |
ch |
Not supported in HTML5. Sets or returns the alignment character within the thead element. |
chOff |
Not supported in HTML5. Sets or returns the horizontal offset of the ch attribute. |
vAlign |
Not supported in HTML5.Please use instead style.verticalAlign. Sets or returns the vertical alignment of the content within the thead element. |
Standard Properties and Events
The THead Object supports standardsPropertiesAndEvents.