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

HTML DOM Table deleteTHead() method

Table deleteTHead() method

Table Object Reference Table object


Definition and Usage

<

The deleteTHead() method is used to delete an element from a table.

**Note:** To create a thead element in a table, use createTHead() method.

Syntax

tableObject.deleteTHead()


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the deleteTHead() method


Example

Example

Create and delete a thead element:

Runoob Tutorial(runoob.com)

    

        

        

    

    

        

        

    

cell 1 cell 2
cell 3 cell 4

Try it »


Table Object Reference Table object