table
- border邊框 width height bgcolor background cellspacing(默認值2) align
tr table row
- bgcolor height
td table data - 容器
- bgcolor align
width、height像素的值不僅可以使用絕對值,還能使用百分比
<table border="1" width="500" height="500" bgcolor="red" cellspacing="0" align="center">
<tr bgcolor="aqua">
<td bgcolor="#faebd7" align="center"><font size="6">1</font></td>
<td>2</td>
<td>3</td>
</tr>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
</tr>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
</tr>
</table>
<table border="1" width="800" height="200">
<tr height="100">
<td width="40%" align="center"><img src="../image/u=552921946,1252949841&fm=27&gp=0.jpg" height="90" width="100"></td>
<td width="20%"></td>
<td width="20%"></td>
<td width="20%"></td>
</tr>
<tr height="100">
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>