JavaScript: The Definitive Guide

25.265. Table.createTHead( ): get or create a <thead>

DOM Level 2 HTML

25.265.1. Synopsis

HTMLElement createTHead( );

25.265.1.1. Returns

A TableSection 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.

Категории