Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML DOM td/th axis property

td/th axis property

td/th Object Reference td/th object


Definition and Usage

The axis property can set or return a comma-separated list containing the names of a group of types (associated cells).

Syntax

Set the axis property:

tdObject.axis="

text

"

or

thObject.axis="

text

"

Return the axis property:

tdObject.axis

or

thObject.axis

**Tip:** The axis property has no default value.


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the axis property.


Example

Example

The following example returns the axis of a cell:

Runoob Tutorial(runoob.com)

    

        

        

    

    

        

        

    

    

        

        

    

    

    

    

    

Name Country
BMW Germany
Volvo Sweden
Saab Sweden

Try it »


td/th Object Reference td/th object