HTML table: About rows Vertical alignment properties valign

Source: Internet
Author: User
HTML Table Tags Tutorial (25): Vertical alignment properties of rows valign


in the vertical direction, you can set the line alignment, respectively, the Habitat, center, the next 3 species.


Basic Syntax


<tr valign= "Top" >


<tr valign= "Middle" >


<tr valign= "BOTTOM" >


Grammar Interpretation


Top for home, middle for the center, bottom for the next.


File Example: 10-23.htm


to set the vertical alignment of the line.


<!---------------------------------->


<!--file Example: 10-23.htm-->


<!--file Description: Set line vertical alignment-->


<!---------------------------------->


<HTML>


<HEAD>


<TITLE> Set Line vertical alignment </TITLE>


</HEAD>


<BODY>


<H1> Mainstream web design software </H1>


<table border=3 width=400 height=200 bordercolor= #336699 background=10-8.jpg>


<TR valign= "Top" >


<TD> Web image software </TD><TD>Fireworks</TD>


</TR>


<TR>


<TD> web making software </TD><TD>Dreamweaver</TD>


</TR>


<TR>


<TD> web animation software </TD><TD>Flash</TD>


</TR>


</TABLE>


</BODY>


</HTML>


File Description


Line 12th defines the vertical alignment of the row as the home.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.