HTMLTableElement.tHead

The HTMLTableElement.tHead represents the <thead> element of a <table> . Its value will be null if there is no such element.

Syntax

thead_element = table.tHead;
table.tHead = thead_element;

Parameters

Example

if (table.tHead == my_head_el) {
  // ...
}

Specifications

Specification
HTML Standard (HTML)
# dom-table-thead-dev

Browser compatibility

BCD tables only load in the browser

See also