标签:
表格:
<html> <head> <title>表格实例</title> </head> <body> <center> <h1><font color="blue">表格</font></h1> <hr width="80%" color="green"/> <table border="1" width="500px" cellpadding="5" cellspacing="1" align="center"> <tr> <td colspan="4" align="center" >员工信息表</td> </tr> <tr> <th><font size="2">工号</font></th><th>姓名</th><th>性别</th><th>职位</th> </tr> <tr> <td>1</td><td>张三</td><td>男</td><td>经理</td> </tr> <tr> <td>2</td><td>李四</td><td>男</td><td>助理</td> </tr> <tr> <td>3</td><td>王五</td><td>女</td><td rowspan="2">秘书</td> </tr> <tr> <td>4</td><td>张小三</td><td>男</td> </tr> <tr> <td colspan="4" align="right" bgcolor="yellow">4条信息</td> </tr> </table> </center> </body> </html>
结果显示:
标签:
原文地址:http://www.cnblogs.com/feilongblog/p/4587313.html