第1节:Table标签
格式
<table width="100%" height="100px" cellpadding="10px" cellspacing="15px" border="1px" bgcolor="white" bordercolor="blue">
<caption>表格标题</caption>
<tr aria-rowcount="1">
<th colspan="2" bgcolor="aqua">合并2行</th>
<th rowspan="2" bgcolor="#ccc">合并2列</th>
<th>1</th>
<th>1</th>
</tr>
<tr>
<td>1</td>
<td>1</td>
<td>1</td>
<td>1</td>
</tr>
</table>
table标签属性:
width:长度height:高度cellspacing:规定单元边沿与单元内容之间的空间,用以像素(px)或百分比(%)cellpadding:规定单元边沿与其内容之间的空白,用以像素(px)或百分比(%)border:边框bordercolor:边框颜色bgcolor:规定表格单元格的背景颜色- **
colspan**:合并行,输入值:合并几行 - **
rowspan**:合并列,输入值:合并几列
table的子集标签:
caption:表格标题th:表头 (表头与列不同的是表头文字自动加粗文字居中)tr:行td:列
待补充...

