In the vertical direction, you can set the cell alignment, which can be top, center, or bottom. Basic syntax <TD VLIGN="TOP"> <TD VLIGN="MIDDLE"> <TD VLIGN="MOTTOM"> Syntax TOP means on the top, MIDDLE means in the middle, and MOTTOM means at the bottom. File example: 10-31.htm Sets the vertical alignment of the cell. 01 <!-- ------------------------------ --> 02 <!-- File example: 10-31.htm --> 03 <!-- File description: Set the vertical alignment of the cell --> 04 <!-- ------------------------------ --> 05 <HTML> 06 <HEAD> 07 <TITLE>Setting cell vertical alignment</TITLE> 08 </HEAD> 09 <BODY> 10 <H1>Mainstream web design software</H1> 11 <TABLE BORDER=3 WIDTH=400 HEIGHT=200 Bordercolor=#336699 Background=10-8.jpg> 12 <TR> 13 <TD VALIGN="Top">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 vertical alignment of the cell as top. |
<<: Some questions about hyperlinks
>>: Vue implements a simple shopping cart example
Table of contents How to operate Operation proces...
tomcat is an open source web server. The web base...
Preface Usually when making h5 pages, you need to...
Table of contents Parsers and preprocessors Query...
Table of contents 01 Common Faults 1 02 Common Fa...
Location means "positioning", which is ...
First install the dependent packages to avoid pro...
(When a web page is loading, sometimes there is t...
Copy code The code is as follows: <span style=...
The database I use is MySQL database version 5.7 ...
Preface In JavaScript, you need to use document.q...
illustrate: Root and alias in location The root d...
Here we only focus on the installation and use of...
Table of contents 1. Example: this can directly g...
1. Percentage basis for element width/height/padd...