Make a table with thead, tFoot and tbody

Time:2020-1-17

Some people use these three labels to make titles that can follow the table, or tbody can fix the height and get out of the function of automatic scroll bar.

Copy code

The code is as follows:

< title > thead, tFoot and tbody tags < / Title >
<table border=”1″>
<thead>
<tr>
< th > subject < / th >
< th > score < / th >
</tr>
</thead>
<tbody>
<tr>
<td>Chinese</td>
<td>99</td>
</tr>
<tr>
<td>Mathematics</td>
<td>60</td>
</tr>
</tbody>
<tfoot>
<tr>
<td>Total score</td>
<td>159</td>
</tr>
</tfoot>
</table>

Recommended Today

Hello numpy series – fancy operation of slices

2020, strive to be an irreplaceable person! Words written in the front In the second section of numpy, students review the previous content by themselves: Python higher-order functions with half the effort Hello numpy series – data types and creation High level part of the article is dry goodsI suggest that you not miss any […]