tHead Property | Internet Development Index |
Retrieves the tHead object of the table.
Syntax
HTML N/A Scripting [ oTHead = ] TABLE.tHead
Possible Values
oTHead Object that receives the tHead object. The property is read-only. The property has no default value.
Remarks
If the table doesn't have a head section, the value for the property is null.
If multiple table heads are listed in an HTML document, only the first one is treated as the head of the table.
Example
This example sets the color of the tHead object to blue.
document.all.myTable.tHead.style.color = "blue"
Standards Information
This property is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 .
Applies To
TABLE