BlaBla.cn 网页教程与代码的中文站点
最近更新日期:2007-04-23 作者:布啦布啦 参考来源:www.BlaBla.cn 布啦布啦网页教程与代码
网站首页
>
HTML 教程与实例代码
>
HTML 代码实例
>
HTML 表格 (Table) 实例
> HTML 表格的表头
编辑文本后点击显示结果
Blabla.cn
<html> <body> <h4>有表头的表格:</h4> <table border="1"> <tr> <th>姓名</th> <th>电话</th> <th>传真</th> </tr> <tr> <td>Bill Gates</td> <td>555 77 854</td> <td>555 77 855</td> </tr> </table> <h4>竖直方向的表头:</h4> <table border="1"> <tr> <th>姓名</th> <td>Bill Gates</td> </tr> <tr> <th>电话</th> <td>555 77 854</td> </tr> <tr> <th>传真</th> <td>555 77 855</td> </tr> </table> </body> </html>
© 2005-2008 BlaBla.cn 版权所有