HTML CSS Reference/HTML Attributes Reference/headers
"headers" Example
<source lang="html4strict">
<HTML> <head><Title>Example For headers</Title></head> <BODY>
Item Number | Item Name | Item Description |
---|---|---|
cell | cell | cell |
</BODY> </HTML>
</source>
headers is applied to
<source lang="html4strict">
+----------------+--------------------------------------------------------------+ | Applied_To |<td> <th> | +----------------+--------------------------------------------------------------+
</source>
"headers" Syntax and Note
<source lang="html4strict">
Note:
This attribute specifies a list of <th> elements. The value can be the id attribute of a single <th> It can also be a space-separated list of <th> elements. This attribute is useful in associating a cell to a column header based on the id attribute instead of the position or order in which it appears in the HTML code.
Syntax:
<element headers="value"> . . . </element>
</source>