table定义表格
border=“2”
cellspacing属性-定义表格单元格之间的空间
cellpadding属性-表示单元格边框与单元格内容之间的距离
caption标签作为标题,并在表的顶部显示出来。
th定义表格的标题栏(文字加粗)
tr定义表格的行
td定义表格的列
表格的表头单元格属性主要是一些公共属性,如:align、dir、width、height。
bgcolor属性 - 可以为整个表格或仅为一个单元格设置背景颜色。
background属性 - 可以为整个表设置背景图像或仅为一个单元设置背景图像。
bordercolor属性 - 可以设置边框颜色。
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>个人简历</title>
</head>
<body>
<table border="2" cellspacing="0" cellpadding="10px">
<caption>个人简历</caption>
<tr>
<th>姓 名</th>
<th width="50px"></th>
<th>性 别</th>
<th width="50px"></th>
<th>出生年月</th>
<th width="50px"></th>
<th rowspan="4" width="125px"></th>
</tr>
<tr>
<th>籍 贯</th>
<th width="50px"></th>
<th>民 族</th>
<th width="50px"></th>
<th>政治面貌</th>
<th width="50px"></th>
</tr>
<tr>
<th>学 历</th>
<th width="50px"></th>
<th>学 制</th>
<th width="50px"></th>
<th>专 业</th>
<th width="50px"></th>
</tr>
<tr>
<th>婚姻状况</th>
<th width="50px"></th>
<th>身 高</th>
<th width="50px"></th>
<th>身体状况</th>
<th width="50px"></th>
</tr>
<tr>
<th>毕业院校</th>
<th colspan="3"></th>
<th>E-mail</th>
<th colspan="2"></th>
</tr>
<tr>
<th>联系地址</th>
<th colspan="3"></th>
<th>邮编</th>
<th colspan="2"></th>
</tr>
<tr>
<th>联系电话</th>
<th colspan="6"></th>
</tr>
<tr>
<th>求职意向</th>
<th colspan="6"></th>
</tr>
<tr height="100px">
<th>知识结构</th>
<th colspan="6"></th>
</tr>
<tr>
<th>计算机</th>
<th colspan="6"></th>
</tr>
<tr>
<th>语言能力</th>
<th colspan="6"></th>
</tr>
<tr>
<th>获奖情况</th>
<th colspan="6"></th>
</tr>
<tr height="90px">
<th>工作经历</th>
<th colspan="6"></th>
</tr>
<tr>
<th>兴趣特长</th>
<th colspan="6"></th>
</tr>
<tr height="120px">
<th>自我评价</th>
<th colspan="6"></th>
</tr>
</table>
</body>
</html>