Sets or retrieves the group of cells in a table to which the object's information applies.
Syntax
HTML | <ELEMENT SCOPE
= sScope... >
|
---|
Scripting | object.scope(v) [ = sScope ] |
---|
Possible Values
sScope | String that
specifies or receives the group of cells to which the object's information applies. |
The property is read/write.
The property has no default value.
Remarks
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.0 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.
Standards Information
This property is defined in
HTML 4.0 and
is defined in
World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 .
Applies To
See Also
headers