Table deleteTHead() method
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





All major browsers support the deleteTHead() method
Example
Example
Create and delete a thead element:
| cell 1 | cell 2 |
| cell 3 | cell 4 |
Try it »
Table object