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
One-click execution To install Python 3.8 in a vi...
Firefox, Opera and other browsers do not support W...
Preface This is an old demand, but there are stil...
HTML <dl> Tag #Definition and Usage The <...
1: Baidu website login entrance Website: http://ww...
Nginx is used as the server, Mongo is used as the...
Preface Components are something we use very ofte...
1. There are generally two methods for Vue routin...
Recently, I encountered the need to embed a player...
Scenario: An inspection document has n inspection...
Preface If you want to count the source of websit...
Table of contents Preface Problem: Large file cop...
How to use the code in NetEase Blog: First log in...
The javascript function for converting <table&g...
1. Get the real path of the current script: #!/bi...