HTML Build Table:
§ Use tables to divide the layout of pages
Format: <table>. </table>
<table>
<tr><td> a row of data in a table </td></tr> <!--row of data in a table--
<tr><td> two rows of data in a table </td></tr> <!--row of data in a table--
<tr><td> three rows of data in a table </td></tr> <!--row of data in a table--
</table>
The test examples are as follows:
Properties of the <table> tag:
Border setting table borders
Caption setting table headings
Align setting the layout of a table in a Web page
Width setting table widths
Height Set Table Heights
CellSpacing set the distance between cells in a table
cellpadding set the spacing between cells inside and text
BorderColor Set table border color
Bordercolorlight Setting the table glossy color
Bordercolordark set table Dark face color
The test procedure is as follows:
<tr> Label Properties: bgcolor sets the background color. Align sets the line alignment. valign to set cell vertical alignment
The test procedure is as follows:
Properties of <td> and <th> tags:bgcolor setting the background color of the unit
RowSpan to set the number of rows that the cell occupies
colspan sets the number of columns that the cell occupies
Align Setting the alignment
valign to set cell vertical alignment
Width setting cell widths
Height Set Cell Heights
The test procedure is as follows:
HTML Learning Form