In the vertical direction, the alignment of rows can be set, including top, center and bottom.
Basic syntax<TR VALIGN=TOP>
<TR VALIGN=MIDDLE>
<TR VALIGN=BOTTOM>
Syntax explanationTOP is the top, MIDDLE is the center, and BOTTOM is the bottom.
File example: 10-23.htmSets the vertical alignment of the rows.
01 <!-- ------------------------------ -->
02 <!-- File example: 10-23.htm -->
03 <!-- File description: Set the line vertical alignment-->
04 <!-- ------------------------------ -->
05 <HTML>
06 <HEAD>
07 <TITLE>Set vertical alignment of rows</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 VALIGN=Top>
13 <TD>Web Image Software</TD><TD>Fireworks</TD>
14 </TR>
15 <TR>
16 <TD>Web page production 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>
Document descriptionLine 12 defines the vertical alignment of the rows as upper.