Table tHead property
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





All major browsers support the tHead property
Example
Example
Pop up the inserted HTML element:
| Month | Savings |
|---|---|
| Sum | $180 |
| January | $100 |
| February | $80 |
Try it »
Table object