解决方法
The thead,tbody,and tfoot elements
in HTML are used to group table rows
into logical sections based on their
content. There are two main reasons
you’d want to do this:
- To allow the body to be scrolled independently of the header and/or
footer- To make it easier to apply different style rules to the
different sections of the table.
如这里所述What is benefit of <thead>
如果您正在使用表进行布局,那么不要使用这些.如果您正在显示表格数据,然后使用它.
如果你没有任何东西放在tfoot,那么不要添加.
你也会在这里找到一些很好的答案What is benefit of <thead>