XML technologies / HTML & XHTML / Alphabetical list of HTML and XHTML elements / thead

(Excerpt from "HTML & XHTML ─ kurz & gut" by Jennifer Niederst Robbins)

A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z

   

thead

HTML 4.01 | HTML 5

<thead> ... </thead>

Defines the header of a table. The element thead is one of the row group elements. It can be used to repeat table headings on multipage printouts. It can also provide fixed headings while the table body scrolls. The element must contain at least one table row (tr).

Notes

In HTML 5, thead must not contain td elements.

Start/end tag

HTML 4.01: Required/Optional; XHTML: Required/Required; HTML 5: Optional/Optional

Attributes

The same as for tbody.

Example

See the second example for the element table.

 

> back to the alphabetical list of elements

   

 

 

 

back to top