td是单元格
th是标签貌似这样的…… 不确定

解决方案 »

  1.   

    <TH>和<TD>标签都是用来规定单元格内容的,表头标签<TH>用来规定表头元素的内容,表头元素一般位于每列的首行,用来说明该列的具体数据是关于哪个对象的。<TH>标签是成对的。数据标签<TD>也是成对使用的,首标签和尾标签之间的内容就是该单元格的具体数据(也就是对表头的解释内容)由于两者都是用于规定单元内容的,<TH>和<TD>标签的所有属性及相应的属性功能是完全一样的. 
      

  2.   

    Example:<table BORDER="2" ALIGN="left" CELLPADDING="5"
    BORDERCOLOR="#ff0000" WIDTH="75%">
          <caption ALIGN="top">Juggling Capabilities of Waterfront Performers</caption>
          <tr> <th>Juggler</th> <th>Pins</th> <th>Bowling Balls</th> <th>Flaming Baseballs</th> </tr>
          <tr> <td>Bob</td> <td>5</td> <td>2</td> <td>5</td> </tr>
          <tr> <td>Larry</td> <td>2</td> <td>7!!!</td> <td>NA</td> </tr>
          <tr> <td>Julie the Great</td> <td>1</td> <td>2</td> <td>20<br>(She IS great!)</td> </tr>
          <tr> <th COLSPAN=4>NOTE: This is only a small sample</th> </tr>
    </table>