HTML tbody usage

HTML tbody usage
Structured Table (IExplore Only)
1) Group by rows
<thead> ... </thead> - Table header (Header) <tbody> ... </tbody> - Table body (Body) <tfoot> ... </tfoot> - Table footer (Footer)
Example: <table border> <thead> <tr><th>Food</th><th>Drink</th><th>Sweet</th> </thead> <tbody> <tr><td>A</td><td>B</td><td>C</td> <tr><td>D</td><td>E</td><td>F</td> </tbody> </table>
2) Group by columns
<colgroup align=#> #=left, right, center
Example: <table border width=160> <colgroup align=left> <colgroup align=center> <colgroup align=right> <thead> <tr><th>Food</th><th>Drink</th><th>Sweet</th> </thead> <tbody> <tr><td>A</td><td>B</td><td>C</td> <tr><td>D</td><td>E</td><td>F</td> </tbody> </table>
3) Column attribute control
<col span=#> #=Number of columns with the specified attributes, starting from the left<col align=#> #=left, right, center
Example: <table border width=160> <colgroup> <col align=center span=2> <colgroup align=right> <thead> <tr><th>Food</th><th>Drink</th><th>Sweet</th> </thead> <tbody> <tr><td>A</td><td>B</td><td>C</td> <tr><td>D</td><td>E</td><td>F</td> </tbody> </table>

<<:  CSS3 creates web animation to achieve bouncing ball effect

>>:  Detailed explanation of querying JSON format fields in MySQL

Recommend

Detailed tutorial on installing Spring boot applications on Linux systems

Unix/Linux Services systemd services Operation pr...

Solution to Docker's failure to release ports

Today I encountered a very strange situation. Aft...

MySQL uses the Partition function to implement horizontal partitioning strategy

Table of contents 1 Review 2 Five strategies for ...

Introduction to Docker containers

Docker Overview Docker is an open source software...

Best way to replace the key in json object

JSON (JavaScript Object Notation, JS Object Notat...

Web project development JS function anti-shake and throttling sample code

Table of contents Stabilization Introduction Anti...

Several ways to add timestamps in MySQL tables

Scenario: The data in a table needs to be synchro...

Use CSS to easily implement some frequently appearing weird buttons

background In the group, some students will ask r...

The difference between GB2312, GBK and UTF-8 in web page encoding

First of all, we need to understand that GB2312, ...

Implementation code for adding links to FLASH through HTML (div layer)

Today a client wants to run an advertisement, and ...

How to recover accidentally deleted table data in MySQL (must read)

If there is a backup, it is very simple. You only...

MySQL high concurrency method to generate unique order number

Preface After this blog post was published, some ...

MySQL big data query optimization experience sharing (recommended)

Serious MySQL optimization! If the amount of MySQ...

Tutorial on installing mysql under centos7

Recently, I plan to deploy a cloud disk on my hom...