Usage and description of HTML tag tbody

Usage and description of HTML tag tbody
The tbody element should be used in conjunction with thead and tfoot elements.

Structured Table (IExplore Only)

1. Group by rows

<thead> ... </thead> - the header of the table
<tbody> ... </tbody> - the body of the table
<tfoot> ... </tfoot> - Table footer

example:
<table border>
<thead>
<tr><th>Food</th><th>Drink</th><th>Sweet</th></tr>
</thead>
<tbody>
<tr><td>A</td><td>B</td><td>C</td></tr>
<tr><td>D</td><td>E</td><td>F</td></tr>
</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></tr>
</thead>
<tbody>
<tr><td>A</td><td>B</td><td>C</td></tr>
<tr><td>D</td><td>E</td><td>F</td></tr>
</tbody>
</table>

3. Column attribute control

<col span=#> #=Number of columns with the specified attribute, 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></tr>
</thead>
<tbody>
<tr><td>A</td><td>B</td><td>C</td></tr>
<tr><td>D</td><td>E</td><td>F</td></tr>
</tbody>
</table>

<<:  Database issues and pitfalls in connecting to cloud servers with Navicat Premium15

>>:  Teach you to implement a simple promise step by step

Recommend

js+Html to realize table editable operation

This article shares the specific code of js+Html ...

PyTorch development environment installation tutorial under Windows

Anaconda Installation Anaconda is a software pack...

CSS3 realizes various graphic effects of small arrows

It’s great to use CSS to realize various graphics...

How to manage large file uploads and breakpoint resume based on js

Table of contents Preface Front-end structure Bac...

3 methods to restore table structure from frm file in mysql [recommended]

When mysql is running normally, it is not difficu...

CentOS7 upgrade kernel kernel5.0 version

Upgrade process: Original system: CentOS7.3 [root...

Summary of MySql storage engine and index related knowledge

Storage Engine What is a database storage engine?...

Implementation of Docker building Maven+Tomcat basic image

Preface In Java programming, most applications ar...

Several methods of deploying multiple front-end projects with nginx

I have summarized 3 methods to deploy multiple fr...

JavaScript implements circular carousel

This article shares the specific code of JavaScri...

What does the "a" in rgba mean? CSS RGBA Color Guide

RGBA is a CSS color that can set color value and ...

...