createTHead

Returns the tHead element object if successful, or null otherwise.

MDN Reference