In the horizontal direction, you can set the cell alignment, which can be left, center, or right. Basic syntax <TD ALIGN="LEFT"> <TD ALIGN="CENTER"> <TD ALIGN="RIGHT"> Syntax LEFT means left, CENTER means center, and RIGHT means right. Document example: 10-30.htm Sets the horizontal alignment of the cell. 01 <!-- ------------------------------ --> 02 <!-- File example: 10-30.htm --> 03 <!-- File description: Set the cell to center alignment --> 04 <!-- ------------------------------ --> 05 <HTML> 06 <HEAD> 07 <TITLE>Set the cell 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> 12 <TR> 13 <TD ALIGN="CENTER">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 13 defines the horizontal alignment of the cell as center. |
<<: Native JS to implement login box email prompt
>>: TCP socket SYN queue and Accept queue difference analysis
I recently wrote a mobile page at work, which was...
The functions of the three attributes flex-grow, ...
<br />The information on web pages is mainly...
Table of contents 1. Download 2. Deployment 1.Ngi...
Copy code The code is as follows: <style> ....
Preface If someone asks you "What are the ch...
Technology Fan html web page, you must know vue f...
Now .net core is cross-platform, and everyone is ...
es installation docker pull elasticsearch:7.4.0 #...
Preface Linux has corresponding open source tools...
Table of contents 1. JS Object DOM –1, Function –...
What is LNMP: Linux+Nginx+Mysql+(php-fpm,php-mysq...
In fact, XHTML 1.0 is divided into two types (thr...
background Use idea with docker to realize the wh...
This article example shares the specific code of ...