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
Drop-down menus are also very common in real life...
Preface: The MySQL database provides a wide range...
app.js: startup file, or entry file package.json:...
Table of contents 1. Introduction 2. Several key ...
Table of contents 1.1Tinyint Type Description 1.2...
[Problem description] On the application side, th...
There are several ways I know of to set anchor pos...
1 Stored Procedure 1.1 What is a stored procedure...
Starting and shutting down Tomcat under Linux In ...
yum or rpm? The yum installation method is very c...
1. View the current host name [root@fangjian ~]# ...
Table of contents 1. Introduction 2. Main text 2....
Docker allows network services to be provided by ...
introduction: Nowadays, many dynamic verification...
Use JS to complete a simple calculator for your r...