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.