scope attribute | scope property
Sets or retrieves the group of cells in a table to which the object's information applies.
Syntax
| HTML | <element scope="p" ... > |
|---|---|
| JavaScript | |
Property values
Type: String
the group of cells to which the object's information applies.
Remarks
scope was introduced in Microsoft Internet Explorer 6
This property can be used for rendering to non-visual media such as speech or Braille. It can also be used with style sheets.
The following table shows the possible values for this attribute as defined in HTML 4.01 for td and th elements are:
| row | The current cell provides header information for its row. |
| col | The current cell provides header information for its column. |
| rowgroup | The header cell provides header information for its row. |
| colgroup | The header cell provides header information for its column. |
This attribute may be used in place of the headers attribute.
There is no functionality implemented for this property unless defined by the author.
See also
Show: