Click to Rate and Give Feedback
Properties
 tHead Property
tHead Property

Retrieves the tHead object of the table.

Syntax

HTMLN/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 World Wide Web link.

Applies To

TABLE
Tags What's this?: Add a tag
Community Content
 
Add Community Content
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker