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.

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.

Leave Your Comment

Comments may be edited for content or deleted at any time. Civilized discussion is welcome. Anyone spamming, going way off topic, or otherwise being a jerk will probably be deleted or banned.

User Information

pMcode is allowed for comment formatting. pop-up mini reference

Personalization Options

Comment Security