By default, the table title is horizontally centered. We can set the horizontal alignment of the title text through the ALIGN attribute. Basic syntax <Caption ALIGN="LEFT">…</Caption> <Caption ALIGN="CENTER">…</Caption> <Caption ALIGN="RIGHT">…</Caption> Syntax LEFT means left, CENTER means center, and RIGHT means right. Document example: 10-15.htm The horizontal alignment of the table caption is set by the ALIGN attribute of the <CAPTION> tag. 01 <!-- ------------------------------ --> 02 <!-- File example: 10-15.htm --> 03 <!--File Description: Set the horizontal alignment of the table title--> 04 <!-- ------------------------------ --> 05 <HTML> 06 <HEAD> 07 <TITLE>Set the horizontal alignment of the table title</TITLE> 08 </HEAD> 09 <BODY> 10 <TABLE BORDER=3 WIDTH=400 HEIGHT=100 Bordercolor=#336699 ALIGN="CENTER"> 11 <CAPTION 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 right-aligned. |
<<: JavaScript adds event listeners to event delegation in batches. Detailed process
>>: Detailed explanation of the usage of MySQL memory tables and temporary tables
Table of contents Document Object Model (DOM) DOM...
1. Introduction The difference between row locks ...
<br />Hello everyone! It’s my honor to chat ...
1. Use of Iframe tag <br />When it comes to ...
How to determine whether a variable is empty in s...
The installation of mysql5.7.18zip version on Win...
Docker Compose Docker Compose divides the managed...
question Nginx takes $remote_addr as the real IP ...
Author | Editor Awen | Produced by Tu Min | CSDN ...
Table of contents Scenario Task idea analyze Conc...
How to uninstall Mysql perfectly? Follow the step...
This article example shares the specific code for...
I just started learning database operations. Toda...
During the installation of Ubuntu 18, the mmx64.e...
DPlayer.js video player plug-in is easy to use Ma...