td/th axis property
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





All major browsers support the axis property.
Example
Example
The following example returns the axis of a cell:
| Name | Country |
|---|---|
| BMW | Germany |
| Volvo | Sweden |
| Saab | Sweden |
Try it »
td/th object