DekGenius.com
Team LiB   Previous Section   Next Section
HTMLTableElement.createTHead( ) get or create a <thead>

Availability

DOM Level 1 HTML

Synopsis

HTMLElement createTHead(  );

Returns

An HTMLTableSectionElement representing the <thead> element for this table. If the table already has a header, this method simply returns it. If the table does not have an existing header, this method creates a new (empty) <thead> element and inserts it into the table before returning it.

    Team LiB   Previous Section   Next Section