| 内容 | 还有人很变态地用这三个标签做出标题能跟随表格,或者tbody固定高度,走出自动出现滚动条的功能。
 代码如下:
 <title>thead、tfoot 以及 tbody标签</title>
 <table>
 <thead>
 <tr>
 <th>科目</th>
 <th>分数</th>
 </tr>
 </thead>
 <tbody>
 <tr>
 <td>语文</td>
 <td>99</td>
 </tr>
 <tr>
 <td>数学</td>
 <td>60</td>
 </tr>
 </tbody>
 <tfoot>
 <tr>
 <td>总分</td>
 <td>159</td>
 </tr>
 </tfoot>
 </table>
 |