tHead Property

Internet Development Index

Retrieves the tHead object of the table.


Scripting[ oTHead = ] TABLE.tHead

Possible Values

oTHead Object that receives the tHead object.

The property is read-only. The property has no default value.


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.


This example sets the color of the tHead object to blue. = "blue" 

Standards Information

This property is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 Non-Microsoft link.

Applies To