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
I divide the whole process into four steps: Downl...
This article mainly introduces the solution to th...
Original link https://github.com/XboxYan/no… A bu...
Preface Two types of swap space can be created un...
Enable remote access to MySQL By default, MySQL u...
What is the function of this key attribute? Let’s...
<br /> English original: http://desktoppub.a...
This article summarizes the principles and usage ...
1. Create a new configuration file docker_nginx.c...
React Hooks is a new feature introduced in React ...
When I was looking at some CSS3 animation source ...
Prerequisite: nginx needs to have the ngx_http_li...
Inserting Data insert into table name (column nam...
Table of contents 1. Overview 1.1 Definition 1.2 ...
There is often a lack of understanding of multi-c...