Easy Tutorial
❮ Att Audio Loop Canvas Rotate ❯

HTML <td> scope Attribute

HTML <td> Tag

Example

The following example identifies two <th> elements as column headers and two <th> elements as row headers:


Browser Support

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


Definition and Usage

The scope attribute defines the method of associating header cells with data cells in a table.

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


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 Audio Loop Canvas Rotate ❯