The <tfoot> tag is used to define the style at the end of the table.
align represents horizontal alignment, where left is on the left, center is on the center, and right is on the right. Valign represents vertical alignment, top is top, middle is center, bottom is bottom.
Set the table body style through the <tfoot> tag.
01 <!-- -------------------------------------------------------------------------------------------------------------------------
02 <!-- File example: 10-46.htm -->
03 <!-- File description: Set the end style of the table-->
04 <!-- -------------------------------------------------------------------------------------------------------------------------
05 <html>
06 <head>
07 <title>Set the end of the table 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 production software</td>
14 </tr>
15 </head>
16 <tbody align=left bgcolor=#00cccc>
17 <tr>
18 <td>Web Image Software</td><td>fireworks</td>
19 </tr>
20 <tr>
21 <td>Web page production 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>
Line 27 sets the style at the end of the table, and line 31 sets the end of the table of the table.