table表格
- 1.宽度 width
- 2.高度 height
- 3.边框 border
- 4.边框颜色 bordercolor
- 5.背景颜色 bgcolor
- 6.文字水平对齐 align=“left或right或center”
- 7.文字垂直对齐 valign=“top或middle或bottom";
- 8.cellspacing="单元格与单元格之间的间距“ **必须给table**
- 9.cellpadding="单元格与内容之间的空隙"
- 10.合并单元格属性:
- 11.表格标题
- 12.表格列分组
- 13.表格行分组
- 14.rules添加组分隔线
- 15.border-spacing:20px;单元格间距
- 16.border-collapse:separate/collapse;合并相邻单元格间距
- 17.empty-cells:show/hide;对无内容的单元格进行隐藏设置
- 18.table-layout:auto/fixed;是否固定单元格的宽度
<table>
<tr>表示行
<th>表示表头,有加粗和水平居中效果
</th>
<th>
</th>
</tr>
<tr>
<td>表示单元格
</td>
<