HTML table tag tutorial (46): table footer tag

HTML table tag tutorial (46): table footer tag

The <tfoot> tag is used to define the style of the table footer.
Basic syntax <tfoot align=value1 bgcolor=color_value valign=value2>
Syntax
Align stands for horizontal alignment, where Left means left, Center means center, and Right means right. valign stands for vertical alignment, Top means top, Middle means center, and Bottom means bottom. File example: 10-46.htm
The <tfoot> tag is used to set the style of the table body.
01 <!-- ------------------------------ -->
02 <!-- File example: 10-46.htm -->
03 <!-- File Description: Set the table footer style-->
04 <!-- ------------------------------ -->
05 <html>
06 <head>
07 <title>Set table footer 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 <tfoot align=Right bgcolor=#00cc00>
28 <tr>
29 <td colspan=2>copyright 2004</td>
30 </tr>
31 </tfoot>

32 </table>
33 </body>
34 </html> The file shows that line 27 sets the style of the table footer, and line 31 sets the end of the table footer.

<<:  JS implements dragging the progress bar to change the transparency of elements

>>:  Do you know the difference between empty value and null value in mysql

Recommend

Three.js realizes Facebook Metaverse 3D dynamic logo effect

Table of contents background What is the Metavers...

How to use JS WebSocket to implement simple chat

Table of contents Short Polling Long-Polling WebS...

CentOS 7.x deployment of master and slave DNS servers

1. Preparation Example: Two machines: 192.168.219...

Detailed example of MySQL data storage process parameters

There are three types of MySQL stored procedure p...

Summary of Nginx location and proxy_pass path configuration issues

Table of contents 1. Basic configuration of Nginx...

js method to delete a field in an object

This article mainly introduces the implementation...

Use iptables and firewalld tools to manage Linux firewall connection rules

Firewall A firewall is a set of rules. When a pac...

Use PHP's mail() function to send emails

Sending emails using PHP's mail function The ...

Common symbols in Unicode

Unicode is a character encoding scheme developed ...

How to allow all hosts to access mysql

1. Change the Host field value of a record in the...

Example of using mycat to implement MySQL database read-write separation

What is MyCAT A completely open source large data...

Tutorial on upgrading, installing and configuring supervisor on centos6.5

Supervisor Introduction Supervisor is a client/se...