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

Nginx Layer 4 Load Balancing Configuration Guide

1. Introduction to Layer 4 Load Balancing What is...

CSS3 implements the sample code of NES game console

Achieve resultsImplementation Code html <input...

js implements the algorithm for specifying the order and amount of red envelopes

This article shares the specific code of js to im...

Tutorial on installing Android Studio on Ubuntu 19 and below

Based on past experience, taking notes after comp...

How to quickly set the file path alias in react

React is a JavaScript library for building user i...

Practical solution for Prometheus container deployment

environment Hostname IP address Serve Prometheus ...

How does Zabbix monitor and obtain network device data through ssh?

Scenario simulation: The operation and maintenanc...

MySQL optimization: use join instead of subquery

Use JOIN instead of sub-queries MySQL supports SQ...

HTML basic structure_Powernode Java Academy

Many times when learning web page development, th...

Implementation of modifying configuration files in Docker container

1. Enter the container docker run [option] image ...

Ubuntu 18.04 disable/enable touchpad via command

In Ubuntu, you often encounter the situation wher...

How to deploy ElasticSearch in Docker

1. What is ElasticSearch? Elasticsearch is also d...

Summary of important mysql log files

Author: Ding Yi Source: https://chengxuzhixin.com...

Difference between var and let in JavaScript

Table of contents 1. Scopes are expressed in diff...

How to compare two database table structures in mysql

During the development and debugging process, it ...