码迷,mamicode.com
首页 > 其他好文 > 详细

表格的标准格式

时间:2017-02-04 20:04:11      阅读:247      评论:0      收藏:0      [点我收藏+]

标签:表头   方式   单元格   body   lsp   边框   otto   tom   ott   

表格的标准结构
<table>
<thead>
<tr>
<td></td>
<td></td>
</tr>
</thead>
<tbody>
<tr>
<td></td>
<td></td>
</tr>
</tbody>
<tfoot>
<tr>
<td></td>
<td></td>
</tr>
</tfoot>
</table>

table>tr*3>td*3
<table border="1" width="500" height="300" aligh="center">

<caption>表头<caption>

ctrl+鼠标左键 集体输入
colspan 同一行单元格合并
rowspan 同一列单元格合并

表格标题、边框颜色、内容垂直对齐
<th></th> 标题(颜色加粗)
bordercolor="red" 边框颜色
内容垂直对齐方式
valign="top"/"middle"/"bottom"

细线表格

表格的标准格式

标签:表头   方式   单元格   body   lsp   边框   otto   tom   ott   

原文地址:http://www.cnblogs.com/dingruinb/p/6366161.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!