VOOZH about

URL: https://www.geeksforgeeks.org/html/html-th-axis-attribute/

⇱ HTML <th> axis Attribute - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

HTML <th> axis Attribute

Last Updated : 22 May, 2026

The axis attribute of the <th> tag was used to categorize header cells and define relationships between headers and data cells. It is now obsolete and not supported in HTML5.

  • Used to define a category or group name for a header cell.
  • Helped associate header cells with related data cells.
  • Used only with the <th> element.

Note: The axis attribute is obsolete in HTML5; use scope or headers attributes instead.

Syntax:

<th axis="category_name">

Attribute Values:

  • category_name: It is used to specify the category name.
Comment
Article Tags: