Sets or retrieves the group of cells in a table to which the object's information applies.
dhtml语法
HTML | <ELEMENT SCOPE
= sScope... >
|
---|
Scripting | object.scope(v) [ = sScope ] |
---|
DHTML可能的值
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.
是否符合公共标准
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
更多语法参考
headers