HTML table tag tutorial (45): table body tag

HTML table tag tutorial (45): table body tag

The <tbody> tag is used to define the style of the table body.
Basic syntax <tbody align=value1 bgcolor=color_value valign=value2>
Syntax
Align stands for horizontal alignment, where Left means left, Center means center, and Right means right. vlign stands for vertical alignment, Top means top, Middle means center, and Bottom means bottom. File example: 10-45.htm
The <tbody> tag sets the table body style.
01 <!-- ------------------------------ -->
02 <!-- File example: 10-45.htm -->
03 <!-- File Description: Set the table body style-->
04 <!-- ------------------------------ -->
05 <html>
06 <head>
07 <title>Set the table body style</title>
08 </head>
09 <body>
10 <table border=3 width=400 height=100 bordercolor=#336699 align="Center">
11 <thead align=center bgcolor=#00ccff>
12 <tr>
13 <td colspan=2>Web page creation software</td>
14 </tr>
15 </thead>
16 <tbody align=Left bgcolor=#00cccc>
17 <tr>
18 <td>Web Graphics Software</td><td>Fireworks</td>
19 </tr>
20 <tr>
21 <td>Web page creation software</td><td>Dreamweaver</td>
22 </tr>
23 <tr>
24 <td>Web animation software</td><td>Flash</td>
25 </tr>
26 </tbody>

27 </table>
28 </body>
29 </html> The file shows that line 16 sets the style of the table body, and line 26 sets the end of the table body.

<<:  JS implements circular progress bar drag and slide

>>:  Briefly talk about mysql left join inner join

Recommend

Detailed explanation of MySQL from getting started to giving up - installation

What you will learn 1. Software installation and ...

MySQL constraint types and examples

constraint Constraints ensure data integrity and ...

JavaScript implements the generation of 4-digit random verification code

This article example shares the specific code for...

mysql installer web community 5.7.21.0.msi installation graphic tutorial

This article example shares the specific code for...

Summary of common problems and application skills in MySQL

Preface In the daily development or maintenance o...

Summary of some HTML code writing style suggestions

Omit the protocol of the resource file It is reco...

Web design experience: Make the navigation system thin

<br />When discussing with my friends, I men...

General Guide to Linux/CentOS Server Security Configuration

Linux is an open system. Many ready-made programs...

Analysis of the causes of accidents caused by Unicode signature BOM

Maybe you are using include files here, which is u...

Summary of several APIs or tips in HTML5 that cannot be missed

In previous blog posts, I have been focusing on so...

MySQL data insertion optimization method concurrent_insert

When a thread executes a DELAYED statement for a ...

How to build a MySQL PXC cluster

Table of contents 1. Introduction to PXC 1.1 Intr...