Click to return to the DHTML, HTML     
createTFoot Method     deleteCaption Method     DHTML Methods    
Web Workshop  |  DHTML, HTML & CSS

createTHead Method


Creates an empty THEAD element in the TABLE.

Syntax

oTHead = TABLE.createTHead()

Return Value

Returns the THEAD element object if successful, or null otherwise.

Remarks

If a THEAD already exists, createTHead returns the existing element. Otherwise, it returns a pointer to the element created.

Example

This example uses the createTHead method to create a table header.

myTHead = document.all.myTable.createTHead() 

Applies To

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:

TABLE

See Also

createCaption, createTFoot, deleteCaption, deleteTFoot, deleteTHead



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.