The HTML Attribute reference

"scope" - html Attribute

  • Specifies the set of data cells for which the current header cell provides header information.
  • This attribute may be used in place of the headers attribute, particularly for simple tables.

Value(s): row, col, rowgroup or colgroup

When specified, this attribute must have one of the following values:
Attribute value description
row The current cell provides header information for the rest of the row that contains it.
col The current cell provides header information for the rest of the column that contains it.
rowgroup The header cell provides header information for the rest of the row group that contains it.
colgroup The header cell provides header information for the rest of the column group that contains it.
Used in the element(s):
Elements Description
td This element defines a data cell in a table.
th This element defines a header cell in a table.

© 2010 by Finnesand Data. All rights reserved.
This site aims to provide FREE programming training and technics.
Finnesand Data as site owner gives no warranty for the correctness in the pages or source codes.
The risk of using this web-site pages or any program codes from this website is entirely at the individual user.