Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML DOM Table tHead property

Table tHead property

Table Object Reference Table object


Definition and Usage

The tHead property returns a reference to the thead element of a table.

The thead element is used to group the header content of an HTML table.

Syntax

tableObject.tHead


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the tHead property


Example

Example

Pop up the inserted HTML element:

Runoob Tutorial(runoob.com)

    

        

            

            

    

    

    

        

            

            

    

    

        

        

    

    

        

        

    

    

Month Savings
Sum $180
January $100
February $80

Try it »


Table Object Reference Table object