<title> my third page </title>
<meta charset=utf-8>
<body>
<table border= "1px" bordercolor= "Red" width= "800px" height= "200px" align= "center" cellpadding= "50px" cellspacing= " 10px "bgcolor=" #ACEBFD "background=" C:\Users\admin\Desktop\php\bbs\img\2.jpg "><!--<table> </TABLE>: Create a table border: Sets the width of the inner and outer wireframe align: sets the position of the table in the Browse page cellpadding: Sets the distance between cell boundaries and cell contents cellspacing: Adjacent cell spacing bgcolor: Table background color background: Table background image, set relative path (priority higher than bgcolor)--
<TR align= "center" valign= "Middle" ><!--<tr></tr>: Creating row align: centering content horizontally valign: Centering the content vertically-- >
<td> first Row first column </td><!--<td></td>: Create Columns--
<td> first row, second column </td>
<td> first row, column three </td>
</tr>
<TR align= "center" valign= "Middle" >
<td> second row first column </td>
<td> second row, second column </td>
<td>
<table border= "1" bordercolor= "yellow" width= "100px" height= "" "align=" center "><!-- Nesting creates a table into a cell--
<TR align= "center" valign= "Middle" >
<td>11</td>
<td>12</td>
</tr>
<TR align= "center" valign= "Middle" >
<td>21</td>
<td>22</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
This article is from the "Invite the Wind" blog, please be sure to keep this source http://yaoyuechengfeng.blog.51cto.com/2958475/1697770
Preliminary use of HTML table tags