At 10:09 AM 8/3/2006, Joe wrote:
I understand the <th> tag should be used on the items in the top row, but what about the row on the left? Are they also considered a header of the row? If so, wouldn't 'Food Type' be a header of a header? What do you guys think?



More to the point, what do the authors of the HTML specification think? Please read the spec, it's quite illuminating for anyone attempting website development.

HTML 4.01 Specification
11 Tables
http://www.w3.org/TR/html4/struct/tables.html

Notice, in various examples on this page, mid-table rows that begin <tr><th>, such as:

<TABLE border="1"
          summary="This table gives some statistics about fruit
                   flies: average height and weight, and percentage
                   with red eyes (for both males and females).">
<CAPTION><EM>A test table with merged cells</EM></CAPTION>
<TR><TH rowspan="2"><TH colspan="2">Average
    <TH rowspan="2">Red<BR>eyes
<TR><TH>height<TH>weight
<TR><TH>Males<TD>1.9<TD>0.003<TD>40%
<TR><TH>Females<TD>1.7<TD>0.002<TD>43%
</TABLE>

So to answer your question, TH table header cells are good for both column heads and row heads.

Regards,
Paul


******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************

Reply via email to