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
CSS Selectors Setting style on the html tag can s...
Result:Implementation Code html <div class=...
Preface: The most commonly used architecture of M...
This article shares the specific code of js to im...
Table of contents Prerequisites RN passes value t...
No matter how wonderful your personal website is,...
A friend in the group asked a question before, th...
Table of contents Event-driven and publish-subscr...
Preface: This article is based on the experience ...
Web design is both a science and an art. Web desi...
For example, users who need screen reading softwar...
In daily work, we may encounter a layout like thi...
1. Requirements description For a certain element...
1. I searched for a long time on the Internet but...
Detailed explanation and examples of database acc...