Some people use these three tags in a perverted way to make the title follow the table, or make the tbody have a fixed height and automatically have a scroll bar appear when it walks out. 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>Language</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> |
<<: Example code for evenly distributing elements using css3 flex layout
>>: Introduction to new ECMAscript object features
This article shares the specific code for impleme...
Table of contents 1. Prepare materials 2. Downloa...
<br /> Note: All texts, except those indicat...
To set the line spacing of <p></p>, us...
Limit input box to only pure numbers 1、onkeyup = ...
Summary This article will introduce the following...
Preface To put it simply, tcpdump is a packet ana...
When it comes to databases, one of the most frequ...
Table of contents Basic concepts of components Th...
Preface This article only focuses on what Nginx c...
Postfix is a free and open source MTA (Mail Tra...
There are two types of web page box models: 1: Sta...
The SQL query statement execution order is as fol...
To master: localStorage, component encapsulation ...
30 free high-quality English ribbon fonts for down...