E-mail List Archives
RE: Can I use TDs with IDs and headers, instead of TH
From: Rachel
Date: Mar 12, 2003 7:39PM
- Next message: Terence de Giere: "Re: defining focus"
- Previous message: Michael Burks: "A New Accessibility Testing Tool"
- Next message in Thread: Jukka K. Korpela: "RE: Can I use TDs with IDs and headers, instead of TH"
- Previous message in Thread: None
- View all messages in this Thread
Thanks for all your feedback on TH and headers.
I noticed this on W3C:
TH is for headers, TD for data, but for cells acting
as both use TD
http://www.w3.org/TR/html401/struct/tables.html#edef-TD
So sounds like the concensus is, use TH where
something is purely a heading and use TD where
something is functioning both as a heading and as
data. And you can use the header attribute in both
tags.
Another question:
Can you have a header AND an ID both in one TD tag? In
other words, can you say that a TD tag is serving as a
heading (ID attribute) for other data cells, but its
own data also belongs under a heading somewhere else
in the table (header attribute)?
Example:
<td id="title" headers="stories">MyTitle</td><td
headers="title g7 k9">Sept 23</td> ...
Thanks again,
Rachel Sengers
__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com
----
To subscribe, unsubscribe, or view list archives,
visit http://www.webaim.org/discussion/
- Next message: Terence de Giere: "Re: defining focus"
- Previous message: Michael Burks: "A New Accessibility Testing Tool"
- Next message in Thread: Jukka K. Korpela: "RE: Can I use TDs with IDs and headers, instead of TH"
- Previous message in Thread: None
- View all messages in this Thread