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
The notepad program is implemented using the thre...
Today I will share with you a picture marquee eff...
There are three ways to introduce CSS: inline sty...
Introduction to Positioning in CSS position attri...
Anyone who has studied or used HTML should be fam...
Looking at a website is actually like evaluating a...
MySQL 8.0 service cannot be started Recently enco...
1. Download from the official website and unzip h...
Overlay network analysis Built-in cross-host netw...
This article describes the Linux user and group c...
Recently, when I was working on CSS interfaces, I...
Build the image Earlier we used various images fo...
Parent File import React, { useState } from '...
Preface Dockerfile is a script interpreted by the...
Preface: When you execute a SQL statement in MySQ...