In the horizontal direction, you can set the alignment of the table, which can be left, center, or right. Basic syntax <TABLE ALIGN="LEFT"> <TABLE ALIGN="CENTER"> <TABLE ALIGN="RIGHT"> Syntax LEFT means left, CENTER means center, and RIGHT means right. File example: 10-11.htm Sets the horizontal alignment of the table. 01 <!-- ------------------------------ --> 02 <!-- File example: 10-11.htm --> 03 <!-- File description: Set the table to center alignment --> 04 <!-- ------------------------------ --> 05 <HTML> 06 <HEAD> 07 <TITLE>Set the table to center alignment</TITLE> 08 </HEAD> 09 <BODY> 10 <H1>Mainstream web design software</H1> 11 <TABLE BORDER=3 WIDTH=400 HEIGHT=100 Bordercolor=#336699 Background=10-8.jpg CellSpacing=10 CellPadding=25 ALIGN="CENTER"> 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 the horizontal alignment of the table as center. |
<<: ElementUI implements sample code for drop-down options and multiple-select boxes
>>: How to get the maximum or minimum value of a row in sql
On a whim, I wrote a case study of a small ball b...
Table of contents View Disk Usage Disk Cleanup (D...
union execution For ease of analysis, use the fol...
Preface There is a scenario where, for the sake o...
<br />User experience is increasingly valued...
Environmental preparation: VMware+CentOS, jdk 1. ...
Table of contents Preface 【undo log】 【redo log】 【...
mysql id starts from 1 and increases automaticall...
Table of contents Symbol Data Type The reason why...
ReactRouter implementation ReactRouter is the cor...
If you are using the latest Ubuntu Server version...
Shorthand properties are used to assign values ...
The ultimate way to solve the parsererror error o...
<br />This section introduces how to impleme...
Table of contents concept Array Destructuring Dec...