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

MySQL lock control concurrency method

Table of contents Preface 1. Optimistic Locking A...

Linux uses dual network card bond and screwdriver interface

What is bond NIC bond is a technology that is com...

Summary of various methods for JS data type detection

Table of contents background What are the methods...

Docker implements container port binding local port

Today, I encountered a small problem that after s...

Detailed explanation of JavaScript Promise and Async/Await

Table of contents Overview Four examples Example ...

Example of using CSS3 to customize the style of input multiple-select box

Principle: First hide the input element, then use...

Detailed explanation of importing/exporting MySQL data in Docker container

Preface We all know that the import and export of...

vue_drf implements SMS verification code

Table of contents 1. Demand 1. Demand 2. SDK para...

CSS code for arranging photos in Moments

First, you can open Moments and observe several l...

The table merges cells and the img image to fill the entire td HTML

Source code (some classes deleted): Copy code The ...

Win2008 R2 mysql 5.5 zip format mysql installation and configuration

Win2008 R2 zip format mysql installation and conf...

CSS Sticky Footer Implementation Code

This article introduces the CSS Sticky Footer imp...

Vue2.0 implements adaptive resolution

This article shares the specific code of Vue2.0 t...