HTML CSS Reference/HTML Attributes Reference/axis

Материал из Web эксперт
Перейти к: навигация, поиск

"axis" Example

    
<HTML>
<Title>Example For axis</Title>
<BODY>
<table border="1" summary="this is the summary">
<caption>Table Heading</caption>
<tr>
   <th>&nbsp;</th>
   <th id="head1" axis="hours">Header 1</th>
   <th id="head2" axis="hours">Header 2</th>
</tr>
<tr>
   <th id="a6" axis="employee">E1</th>
   <th>&nbsp;</th>
   <th>&nbsp;</th>
   <th>&nbsp;</th>
</tr>
<tr>
   <td id="a7" axis="date">January 1, 2004</td>
   <td headers="head1 head2">7.50</td>
   <td headers="head1 head2">2.00</td>
   <td>&nbsp;</td>
</tr>
<tr>
   <td id="a7" axis="date">January 2, 2004</td>
   <td headers="head1 head2">9.50</td>
   <td headers="head1 head2">1.70</td>
   <td>&nbsp;</td>
</tr>
</table>
</BODY>
</HTML>



axis is applied to

+----------------+--------------------------------------------------------------+
| Applied_To     |<td>                            <th>                          |
+----------------+--------------------------------------------------------------+



"axis" Syntax and Note

Note:
    
This attribute allows you to categorize <td> and <th> elements.
    
Syntax:
    
<element axis="value"> . . . </element>