Alert the innerHTML of <thead>:
The tHead property returns a reference to the <thead> element of a table.
The <thead> element is used to group the header content in an HTML table.
Tip: The tFoot property returns a reference to the <tfoot> element of a table.
The tHead property is supported in all major browsers.
Return Value: | A reference to the <thead> element of the table, or null if it is not defined |
---|
HTML reference: HTML <thead> tag