HTML td axis attribute

Example

An HTML table with categorized cells:
<table border="1" width="100%">
  <tr>
    <th axis="name">Name</td>
    <th axis="contact">Email</td>
    <th axis="contact">Phone</td>
    <th axis="contact">Address</td>
  </tr>
  <tr>
    <td axis="name">John Doe</td>
    <td axis="contact">someone@example.com</td>
    <td axis="contact">+45342323</td>
    <td axis="contact">Rosevn 56,4300 Sandnes,Norway</td>
  </tr>
</table>


Definition and Usage

The axis attribute is used to categorize cells.
The axis attribute can be used to group related columns of information.

Browser Support

Note: The axis attribute is not supported by any of the major browsers.

Syntax

<td axis="value">

Attribute Values

Value Description
category_name Specifies a category name
Share this article :
 
Copyright © 2012. Best Online Tutorials | Source codes | Programming Languages - All Rights Reserved