SCOPE Attribute | scope

HTML (DHTML)

SCOPE Attribute | scope Property

Internet Development Index

Sets or retrieves the group of cells in a table to which the object's information applies.

Syntax

HTML<ELEMENT SCOPE = sScope... >
Scriptingobject.scope(v) [ = sScope ]

Possible Values

sScopeString 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 Non-Microsoft link for td and th elements are:

rowThe current cell provides header information for its row.
colThe current cell provides header information for its column.
rowgroupThe header cell provides header information for its row.
colgroupThe 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 Non-Microsoft link and is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 Non-Microsoft link.

Applies To

TD, TH

See Also

headers