You are here: Reference > HTML > attributes > axis (td, th)

axis attribute (td, th)

Browser support:
Sets a comma-separated list of category names.
There isn't any functionality implemented for this attribute in commonly used browsers.
JavaScript page for this attribute: axis. You can find other example(s) there.

Possible values:

String that sets a comma-separated list of category names.
Default: this attribute has no default value.

Example HTML code 1:

This example illustrates the use of the axis attribute:
<table border="1px">
    <caption>Fruits Cost Report</caption>
    <tr>
        <th axis="fruit">Name</th>
        <th axis="cost">Cost</th>
        <th axis="piece">Piece</th>
    </tr>
    <tr>
        <td>Apple</td>
        <td>13.42</td>
        <td>45</td>
    </tr></table>
Did you find this example helpful? yes no

Supported by tags:

External links:

User Contributed Comments

Post Content

Post Content