HTML CSS Reference/HTML Attributes Reference/scope
Версия от 12:21, 26 мая 2010; (обсуждение)
"scope" Example
<source lang="html4strict">
<HTML> <head><Title>Example For scope</Title></head> <BODY>
Header 1 | Header 2 | Header 3 | Header 4 | Header 5 | Header 6 |
---|---|---|---|---|---|
Row 1 | Cell | Cell | Cell | Cell info 1 | Cell |
Row 2 | Cell | Cell | Cell | Cell | Cell |
Row 3 | Cell | Cell | Cell | Cell | Cell |
Row 4 | Cell info 2 | Cell | Cell | Cell | Cell |
</BODY> </HTML>
</source>
scope is applied to
<source lang="html4strict">
+----------------+--------------------------------------------------------------+ | Applied_To |<td> <th> | +----------------+--------------------------------------------------------------+
</source>
"scope" Syntax and Note
<source lang="html4strict">
Note:
This attribute specifies the group of cells to which header information on the current cell refers. If its value is row or rowgroup, the cell provides header information for the current row. If its value is col or colgroup, the cell provides header information for the current column.
Syntax:
<element scope="value"> . . . </element>
</source>