HTML table tag tutorial (25): vertical alignment attribute VALIGN

HTML table tag tutorial (25): vertical alignment attribute VALIGN

In the vertical direction, you can set the row alignment, which can be top, center, or bottom.
Basic syntax
<TR VALIGN="TOP">
<TR VALIGN="MIDDLE">
<TR VALIGN="BOTTOM">
Syntax
TOP means on the top, MIDDLE means in the middle, and BOTTOM means at the bottom.
File example: 10-23.htm
Sets the vertical alignment of the row.
01 <!-- ------------------------------ -->
02 <!-- File example: 10-23.htm -->
03 <!-- File description: Set the vertical alignment of the line -->
04 <!-- ------------------------------ -->
05 <HTML>
06 <HEAD>
07 <TITLE>Setting 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 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 12 defines the vertical alignment of the row as top.

<<:  Quick solution for forgetting MySQL8 password

>>:  Detailed explanation of slots in Vue

Recommend

Vue realizes simple effect of running light

This article shares the specific code of Vue to a...

Two query methods when the MySQL query field type is json

The table structure is as follows: id varchar(32)...

Introduction to network drivers for Linux devices

Wired network: Ethernet Wireless network: 4G, wif...

Native js to implement drop-down menu

Drop-down menus are also very common in real life...

How to deploy nodejs service using Dockerfile

Initialize Dockerfile Assuming our project is nam...

Native JS to implement hover drop-down menu

JS implements a hover drop-down menu. This is a s...

How to run sudo command without entering password in Linux

The sudo command allows a trusted user to run a p...

MySQL Workbench download and use tutorial detailed explanation

1. Download MySQL Workbench Workbench is a graphi...

Script example for starting and stopping spring boot projects in Linux

There are three ways to start a springboot projec...