HTML · Table and list attributes

scope

Declares whether a header cell labels a row, column or group.

Syntax
scope="col"

Example

Try it

More in this group

abbr (attribute) colspan headers reversed rowspan span (table attribute) start

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