Form:
<table></table> Forms
Width: width. Can be expressed in pixels or percentages. Commonly used 960 pixels.
Border : Border, common values are 0 .
cellpadding : The distance between the content and the border, the common value is 0 .
cellspacing : The spacing between cells and cells, with a common value of 0 .
Algin : Alignment.
bgcolor : Background color.
background : Background image.
<tr></tr> Line
align: the horizontal alignment of a line of content.
valign: the vertical alignment of a line of content.
Height : Row height.
bgcolor : Background color.
background : Background image.
<td></td> Cell
<th></th> Header, cell contents are automatically centered, bold
align: The alignment of the cell contents.
valign: The vertical alignment of the contents of the cell.
width : Cell width.
Height : Cell height.
bgcolor : Background color.
background : Background image.
The contents must be placed in the cell, the cell must be in the row, and the row must be placed in the table.
When you set the row height and sizing of a cell, the corresponding row or column is affected.
Cell Merging: (It is recommended to use table nesting as far as possible)
colspan= "n" merge cells of the same row (the corresponding columns are subtracted from the following code)
rowspan= "n" merge the same column cell (minus the corresponding column starting from the second row)
Table Example:
Learn to summarize the use of HTML table tags