Structured, Accessible Tables
Web-graphics.com has a link today to a great article about creating structured tables in :XHTML: (and :HTML:). It talks not only about the <th> tag, which most people don’t use, but also the <tbody>, <thead>, and <tfoot> tags, which can be used for some really nifty stuff. (Unfortunately, the article doesn’t mention that those tags aren’t universally supported by all browsers even though they’re part of the standard and have been for some time.) The thing mentioned that I didn’t know about was the scope attribute. Nice.
Here are some other good table-related articles people pointed out in the web-graphics.com comments:
Data tables part 1
Tables for Tabular Data
Reformat the Table
Remember, just because HTML tables shouldn’t be used for page layout purposes, it doesn’t mean that they aren’t still a valuable tool in your coding arsenal.
Posted Wednesday March 24, 2004 in (X)HTML and CSS by Chris Curtis
This is an older entry and as such, it may be by a guest author or contain formatting problems / extraneous code. If you notice something wrong with the entry, please use the Contact page to let me know the entry title and issue.