tHead property
Syntax
| JavaScript | |
|---|
Property values
Type: Object
Object that receives the tHead object.Address of a pointer to an IHTMLTableSection interface for the head section of the table.Standards information
- Document Object Model (DOM) Level 1 Specification, Section 2.5.5
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.
Examples
This example sets the color of the tHead object to blue.
document.all.myTable.tHead.style.color = "blue"
See also
Show: