Table labels for HTML

Source: Internet
Author: User

1 <!DOCTYPE HTML Public "-//W3C//DTD XHTML 1.0 transitional//en" "http://www.w3.org/TR/xhtml1/DTD/ Xhtml1-transitional.dtd ">2 <HTMLxmlns= "http://www.w3.org/1999/xhtml">3 <!--4 Table Labels <table>5 Row Labels <tr>6 column Labels <td> or <th>7 Align:left, center, right8 border: Edge width9 widthTen Height One cellspacing A cellpadding -  - Defining Headings the  -  - <caption> - Align + valign - Put in the internal use of the table before the TR label.  + will go along with the table.  A  at Field Labels - <th> - and <td> users have been. Text is centered in bold -  -  - Row Labels in <tr> - align: horizontal position to valign: Vertical position Top (top), middle (center), Bottom (end) +  -  the Column Labels * <td> and <th> $ widthPanax Notoginseng Heigth - Align the valign + colspan: Control of the number of columns A RowSpan: The number of rows that the control occupies the  - + <Head> - <Metahttp-equiv= "Content-type"content= "text/html; charset=gb2312" /> $ <title>Table labels for HTML</title> $ </Head> -  - <Body> the     <Center><H3>My form</H3></Center> -     <TableBorder= "1"width= "The "Align= "Center"cellspacing= "0"cellpadding= "5"bgcolor= "#999999"bordercolor= "#00FF00">Wuyi     <caption><H2>My form</H2></caption> the     <TR> -             <th>Number</th> Wu             <th>Name</th> -             <th>Age</th> About             <th>Gender</th> $         </TR> -         <TR> -             <TD>1</TD> -             <TD>Zhangsan</TD> A             <TD>30</TD> +             <TD>Man</TD> the         </TR> -         <TR> $             <TD>2</TD> the             <TD>Lisi</TD> the             <TD>30</TD> the             <TD>Man</TD> the         </TR> -         <TR> in             <TD>3</TD> the             <TD>Wangwu</TD> the             <TD>30</TD> About             <TD>Man</TD> the         </TR> the     </Table> the </Body> + </HTML>

Table labels for HTML

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.