Easy Tutorial
❮ Att Area Rel Att Blockquote Cite ❯

HTML <th> scope Attribute

HTML <th> Tag

Example

Define two header cells as headers for columns:


Browser Support

The scope attribute has no visual effect in ordinary web browsers but can be used by screen readers.


Definition and Usage

The scope attribute specifies whether a header cell is a header for a column, row, column group, or row group.


Differences Between HTML 4.01 and HTML5

None.


Syntax

Attribute Values

Value Description
col Specifies that the cell is a header for a column.
row Specifies that the cell is a header for a row.
colgroup Specifies that the cell is a header for a column group.
rowgroup Specifies that the cell is a header for a row group.
❮ Att Area Rel Att Blockquote Cite ❯