tHead
Property of dom/HTMLTableElementdom/HTMLTableElement
Syntax
var result = element.tHead;
element.tHead = value;
Examples
This example sets the color of the tHead object to blue.
document.all.myTable.tHead.style.color = "blue"
Notes
Remarks
If the table doesn’t have a head section, the value for the property is null. If multiple table heads are listed in on a document, only the first one is treated as the head of the table.
Syntax
Standards information
- Document Object Model (DOM) Level 1 Specification, Section 2.5.5
See also
Related pages
- tabletable
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]