HTML Reference Series (5)-Table tags

Source: Internet
Author: User

HTMLReference Series(4)-Table labels

Time: 2006.5.18 Author: Anytao

2006 indicate the source of Anytao.com.

 

Table is the most important layout element in web design. Therefore, it is very important to grasp the table during the design process. Here Anytao summarizes the commonly used table labels as follows:

Tags and their attributes

Function Description

Function demonstration (in production)

<Table>

Table

 

Bgcolor = "color value" and "color name"

Table background color

 

Border = Value

Table Border Width

 

Cellpadding = Value

Table metadata inner distance

 

Cellspacing = Value

Table meta-spacing

 

Height = Value

Table height

 

Width = Value

Table width

 

<TD>

Create a table element in a row of the table

 

Align = left/right/center

Horizontal Alignment of table metadata

 

Bgcolor = color

Table meta background color

 

Colspan = Value

Table element column Spans

 

Height = Value

Table meta height

 

Width = Value

Table metadata width

 

Rowspan = Value

Number of rows in the table element

 

Valign = top/middle/bottom/baseline

Vertical Alignment of table metadata

 

<TH>

Table title

 

Same as <TD>

 

 

<Tr>

 

 

Same as <TD>

 

 

 

Suggestion: here is just a simple list of the most commonly used attributes. I hope you can give me more reference to supplement this series, and then sort it into a book to enjoy everyone,

 

References: Learning Web Design, By Jennifer Niederst

 

2006 indicate the source of Anytao.com.

 

 

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.