Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

HTML th element

3 tags 1 category

The <th> HTML element defines a cell as the header of a group of table cells and may be used as a child of the <tr> element. The exact nature of this group is defined by the scope and headers attributes.

The <th> may only be used within a <tr> element. In simple contexts, using the scope attribute on header cells (<th> elements) is redundant because scope is inferred. However, certain assistive technologies may fail to infer correctly, so specifying header scope may improve user experiences. When using the colspan and rowspan attributes to span header cells across multiple columns and rows, cells without these attributes defined (with a default value of 1) are automatically fitted into free available spaces in the table structure that span 1×1 cells, as illustrated in the following figure:

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…