thead、tbody都是成对出现的标签,即<thead>和</thead>、<tbody>和</tbody>。它们都应用到表格,用于整体规划表格的行列属性。应用这两个标签的优点是,我们只要对thead、tbody标签的属性进行修改,就能对表格的整行单元格的属性进行修改,从而剩去了逐一修改单元格属性的麻烦。 thead标签的属性有:align bgcolor class dir id lang style title valign等。 具体用法如下: <table cols=3> <thead> <tr> <th>time<th>event<th>location </tr> </thead> <tbody> <tr> <td>111<td>222<td>333 </tr> <tr> <td>444<td>555<td>666 </tr> </tbody> </table>thead、tbody都是成对出现的标签,即<thead>和</thead>、<tbody>和</tbody>。它们都应用到表格,用于整体规划表格的行列属性。应用这两个标签的优点是,我们只要对thead、tbody标签的属性进行修改,就能对表格的整行单元格的属性进行修改,从而剩去了逐一修改单元格属性的麻烦。 thead标签的属性有:align bgcolor class dir id lang style title valign等。 具体用法如下: <table cols=3> <thead> <tr> <th>time<th>event<th>location </tr> </thead> <tbody> <tr> <td>111<td>222<td>333 </tr> <tr> <td>444<td>555<td>666 </tr> </tbody> </table>
文档说明:
相关文档
返回首页 | 关于本站 | | 友情链接 | 广告服务 | 意见建议 | 访客留言 | 本站论坛
Copyright© 2001-2006 ProgramBBS.com All Rights Reserved 版权所有©编程论坛
Email: 吉ICP备05009985号
感谢长春订餐网友情支持