Unit 4 Q&A;

Go to the Navigation pageHelpExitBackNext


I read that there are four table tags, but you didn't mention the <TH> tag here. Why not?

 
In addition to <TABLE>, <TR>, and <TD>, there is a fourth tag, <TH>. It is used exactly like <TD>, but is meant to imply that the cell is part of the heading of the table. Because there is no visible difference between <TD> and <TH> cells, many Web page authors don't bother using <TH>. For the record, there is also another "basic" table tag called <CAPTION>. All it does is center some text over the top of the table, which you can easily do with the <DIV ALIGN="center"> tag you're already familiar with.