Browse By Name
HTMLCSSJavaScriptAppendix
You are here: Reference > HTML > attributes > axis (td, th)

axis attribute (td, th)

A A Font size Print Content Add new content Share Share
Browser support:
Sets a comma-separated list of category names.
There isn't any functionality implemented for this attribute in commonly used browsers.
If you want to use this element dynamically, visit the 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="1">
    <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