HTML Tag

The tag is used to group header content in an HTML table.

Browsers can use these elements to enable scrolling of the table body independently of the header and footer. Also, when printing a large table that spans multiple pages, these elements can enable the table header and footer to be printed at the top and bottom of each page.

Note: The element must have one or more tags inside.

The tag must be used in the following context: As a child of a element, after any and elements, and before any , , and elements.

Tip: The , , and elements will not affect the layout of the table by default. However, you can use CSS to style these elements (see example below)!

Browser Support

Element
Yes Yes Yes Yes Yes