HTMLTableElement: tHead property

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

Value

Examples

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

Specifications

Specification
HTML Standard
# dom-table-thead-dev

Browser compatibility

desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
tHead

See also