thead(表格头)、tfoot(表格底)和tbody(表格体)

2017-06-06 16:24:00
admin
原创
541
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>元素thead、tffot、tbody</title>
</head>
<body>
<table border="1">
<thead align="center">
<tr> <td>...header information...<td>...header information...
</thead>
<tfoot style="font-style:italic">
<tr> <td>...footer information...<td>...foot information...
</tfoot>
<tbody>
<tr> <td>...first row of block one data...<td>...body information.............
<tr> <td>...second row of block one data...<td>...body information............
</tbody>
<tbody>
<tr> <td>...first row of block two data...<td>...body information.............
<tr> <td>...second row of block two data...<td>...body information............
</tbody>
</table>
</body>
</html> 
  • QQ讨论群
  • 关注微信
    • 欢迎咨询
    • 欢迎加入QQ群 16506021
  • 公众号:源宝网络