scope="col"
By doing this simple step, the text in that cell becomes associated with every cell in that column. Unlike using other approaches (notably "id" and "headers") there is no need to include special attributes in each cell of the table. Similarly, the first column of every table should include information identifying information about each row in the table. Each of the cells in that first column are created by either <TH> or <TD> tags. Include the following attribute in these cells:
scope="row"
By simply adding this attribute, the text in that cell becomes associated with every cell in that row. While this technique dramatically improves the usability of a web page, using the scope attribute does not appear to interfere in any way with browsers that do not support the attribute.thead
- THEAD - W3c
- THEAD - Table Head - .htmlhelp.org
tbody
- TBODY - Table Body. - htmlhelp.org
tfoot
- TFOOT - Table Foot - htmlhelp.org
"AXIS lets you associate together cells, groups cells associated by headers, and groups of cells associated by scope. You set the axis attribute on a cell, and that cell is part of the axis defined by that value. If the cell has a @scope attribute set, the cells within that scope are part of the axis. If a cell with an @axis has an id, then any other cells which list the id in their headers attributes are part of the @axis. In theory, this lets a browser "query" a table and return information. In practice, I don't know of any browsers which do that, and in general, if you are at this level of complexity then you perhaps should offer your content in alternate formats, or perhaps in multiple tables. "- Kynn Bartlett
"Complex tables often present information that may be grouped across cells, columns, and rows. The tools provided in headers, IDs, and abbreviations can't fully address these needs. The AXIS attribute enables the relational grouping of data anywhere in a table. In order to structure the table for all logical groupings, each unique category must have a unique ID." - Michael G. Paciello