In the vertical direction, the alignment of the table headers can be set, including top, center and bottom.
Top is the top, Middle is the middle, and Bottom is the bottom.
Sets the vertical alignment of the header.
01 <!-- ------------------------------ -->
02 <!-- File example: 10-41.htm -->
03 <!-- File description: Set the vertical alignment of the table header-->
04 <!-- ------------------------------ -->
05 <html>
06 <head>
07 <title>Set vertical alignment of the table header</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
cellpacing=10 cellpadding=25>
12 <tr>
13 <th valign=Top>Web page image software</th><th>Fireworks</th>
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>
Line 13 defines the vertical alignment of the table header as top.