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
operating system: Win10 Home Edition Install Dock...
When we display long text, we often need to interc...
This article shares the specific code for WeChat ...
In this article, we’ll explore how async/await is...
This article example shares the specific code of ...
The specific code of JavaScript date effects is f...
Table of contents JS obtains the .txt file conten...
Delete the previously installed mariadb 1. Use rp...
The execution efficiency of MySQL database has a ...
Table of contents Preface Install the graphics dr...
1. Write a split script (splitNginxLog.sh) * Beca...
Two ways to navigate the page Declarative navigat...
Solution to MySQL failure to start MySQL cannot s...
This article example shares the specific code of ...
If the server data is not encrypted and authentic...