Module table

Module table 

Source
Expand description

Attribute names for table (<table>) elements.

§Purpose

The <table> element represents tabular data displayed in a grid of rows and columns. Use semantic table elements for proper structure.

§Common Attributes

  • border: Border width (deprecated, use CSS instead)

§Example

<table>
  <thead>
    <tr>
      <th>Name</th>
      <th>Age</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Alice</td>
      <td>30</td>
    </tr>
  </tbody>
</table>

§WHATWG Specification

Constants§

BORDER
The border attribute.