The table caption can be placed above or below the table, which can be adjusted via properties. The default table title is placed above the table. Basic syntax <Caption VALIGN="top">…</Caption> <Caption VALIGN="bottom"> …</Caption> Syntax TOP means on the top and BOTTOM means on the bottom. File example: 10-16.htm The vertical alignment of the table caption is set by the VALIGN attribute of the <CAPTION> tag. 01 <!-- ------------------------------ --> 02 <!-- File example: 10-16.htm --> 03 <!--File Description: Set the vertical alignment of the table title--> 04 <!-- ------------------------------ --> 05 <HTML> 06 <HEAD> 07 <TITLE>Set the vertical alignment of the table title</TITLE> 08 </HEAD> 09 <BODY> 10 <TABLE BORDER=3 WIDTH=400 HEIGHT=100 Bordercolor=#336699 ALIGN="CENTER"> 11 <CAPTION VALIGN="BOTTOM" ALIGN="RIGHT">Mainstream web design software</CAPTION> 12 <TR> 13 <TD>Web Graphics Software</TD><TD>Fireworks</TD> 14 </TR> 15 <TR> 16 <TD>Web page creation software</TD><TD>Dreamweaver</TD> 17 </TR> 18 <TR> 19 <TD>Web animation software</TD><TD>Flash</TD> 20 </TR> 21 </TABLE> 22 </BODY> 23 </HTML> File Description <br />Line 11 defines that the table title text is bottom-aligned and right-aligned. |
<<: Front-end state management (Part 1)
>>: MySQL select results to perform update example tutorial
Table of contents What is the Picker component Pr...
Windows 10 now supports Linux subsystem, saying g...
I am currently developing a new app project. This...
1. Background We do some internal training from t...
This article shares the specific code for impleme...
This article example shares the specific code of ...
Table of contents 1. Clever use of indexes and va...
Simply put, distinct is used to remove duplicates...
Linux task management - background running and te...
Correspondence between flutter and css in shadow ...
Table of contents 1. What is a database? 2. Class...
Table of contents 1. Use help information 2. Crea...
1. When the mobile terminal processes the list sl...
If you want to adjust the size and number of Inno...
<br />What principles should be followed to ...