HTML th axis attribute

Example

An HTML table with categorized header 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>John Doe</td>
    <td>someone@example.com</td>
    <td>+45342323</td>
    <td>Rosevn 56,4300 Sandnes,Norway</td>
  </tr>
</table>


Definition and Usage

The axis attribute is used to categorize header 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

<th 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