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 implements a simple todoList (notepad) effect

The notepad program is implemented using the thre...

Native JS to achieve image marquee effects

Today I will share with you a picture marquee eff...

Detailed explanation of three ways to import CSS files

There are three ways to introduce CSS: inline sty...

In-depth study of how to use positioning in CSS (summary)

Introduction to Positioning in CSS position attri...

HTML hyperlink a tag_Powernode Java Academy

Anyone who has studied or used HTML should be fam...

Good website copywriting and good user experience

Looking at a website is actually like evaluating a...

Solution to MySQL 8.0 cannot start 3534

MySQL 8.0 service cannot be started Recently enco...

Detailed explanation of CSS line-height and height

Recently, when I was working on CSS interfaces, I...

How to use Dockerfile to build images in Docker

Build the image Earlier we used various images fo...

React handwriting tab switching problem

Parent File import React, { useState } from '...

Docker Basic Tutorial: Detailed Explanation of Dockerfile Syntax

Preface Dockerfile is a script interpreted by the...

Detailed analysis of mysql MDL metadata lock

Preface: When you execute a SQL statement in MySQ...