HTML · Tables

th

A header cell. The scope attribute tells assistive technology whether it labels a row or a column.

Syntax
<th scope="col">…</th>

Example

Try it

More in this group

caption col colgroup table tbody td tfoot thead

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course