1 Hour SEO : Domain Registration Bank : Ecommerce Dictionary : GoDefy : HTML HTML
JavaScript 2 : Jumbo Keyword : Marketing Tips Store : Michael Wong Blog : Mike's Marketing Tools
Search Engines 2 : SEO eBook : Text Links Ads : Text Links Guide
 
Web Great-Web-Design-Tips.com

You are here > Web Design > Web Accessibility > 43.2. Data Cell Labels

Data Cell Labels

If a table has two or more row or column headings, or headings that span multiple columns, it requires additional labeling to associate the heading with the data.

In the table data cells, the headers attribute is used on the TD element to specify which heading cell is associated with a specific data cell.

Note that the data cell containing the number 02 includes the attribute headers="c2", which relates to the heading cell with id="c2" labelled Month. Therefore, the heading for "02" is Month.

For example:

...
<TR>
<TD HEADERS="c1">Valentines</TD>
<TD HEADERS="c2">02</TD>
<TD HEADERS="c3">14</TD>
<TD HEADERS="c4">1500</TD>
</TR>
...

Text >>>

          

Copyright © 2002-10 Art Dacor USA LLC. All Rights Reserved.
3727 West Magnolia Blvd #489, Burbank, CA, 91505, USA.
www.Great-Web-Design-Tips.com