用web前端制作一个简单的建立表
代码如下:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>网页测试</title>
</head>
<body>
<table bgcolor="black" border="0" width="900" align="center">
<tr bgcolor="aliceblue" align="center" height="50">
<td>姓名</td>
<td>谢宜霖</td>
<td>性别</td>
<td>男</td>
<td>民族</td>
<td colspan="2">汉族</td>
<td rowspan="4"><img src="img/头像.jpg"/></td>
</tr>
<tr bgcolor="aliceblue" align="center" height="50">
<td>身高</td>
<td>179</td>
<td>体重</td>
<td>78kg</td>
<td>血型</td>
<td colspan="2">A型</td>
</tr>
<tr bgcolor="aliceblue" align="center" height="50">
<td>政治面貌</td>
<td>中共预备党员</td>
<td>最高学历</td>
<td>大学专科</td>
<td>健康状况</td>
<td colspan="2">健康</td>
</tr>
<tr bgcolor="aliceblue" align="center" height="50">
<td colspan="2">原出生地</td>
<td colspan="2">贵州省凯里市</td>
<td>户口性质</td>
<td colspan="2">城市户口</td>
</tr>
<tr bgcolor="aliceblue" align="center" height="50">
<td colspan="2" rowspan="2">户口所在地</td>
<td colspan="2">贵州省六盘水市</td>
<td>身份证号码</td>
<td colspan="3">520 103 1980108 6711</td>
</tr>
<tr bgcolor="aliceblue" align="center" height="50">
<td colspan="2">现居住地址</td>
<td colspan="6">贵州省六盘水市</td>
</tr>
<tr bgcolor="aliceblue" align="center" height="50">
<td rowspan="3">联系方式</td>
<td >通讯地址</td>
<td colspan="6"></td>
</tr>
<tr bgcolor="aliceblue" align="center" height="50">
<td >邮箱</td>
<td colspan="3">无</td>
<td >E-mail</td>
<td colspan="2">1620407927@qqq.com</td>
</tr>
<tr bgcolor="aliceblue" align="center" height="50">
<td >手机</td>
<td colspan="3">15685825775</td>
<td >宅电</td>
<td colspan="2">8260757</td>
</tr>
<tr bgcolor="aliceblue" align="center" height="50">
<td rowspan="7">教育经历</td>
<td>起止时间</td>
<td colspan="2">院校名称</td>
<td colspan="2">所学专业</td>
<td colspan="2">取得学历</td>
</tr>
<tr bgcolor="aliceblue" align="center" height="50">
<td>2016-2019</td>
<td colspan="2">六盘水师范学院</td>
<td colspan="2">计算机应用技术 </td>
<td colspan="2">大学专科</td>
</tr>
<tr bgcolor="aliceblue" align="center" height="50">
<td></td>
<td colspan="2"> </td>
<td colspan="2"> </td>
<td colspan="2"> </td>
</tr>
<tr bgcolor="aliceblue" align="center" height="50">
<td></td>
<td colspan="2"> </td>
<td colspan="2"> </td>
<td colspan="2"> </td>
</tr>
<tr bgcolor="aliceblue" align="center" height="50">
<td></td>
<td colspan="2"> </td>
<td colspan="2"> </td>
<td colspan="2"> </td>
</tr>
<tr bgcolor="aliceblue" align="center" height="50">
<td></td>
<td colspan="2"> </td>
<td colspan="2"> </td>
<td colspan="2"> </td>
</tr>
<tr bgcolor="aliceblue" align="center" height="50">
<td></td>
<td colspan="2"> </td>
<td colspan="2"> </td>
<td colspan="2"> </td>
</tr>
<tr bgcolor="aliceblue" align="center" height="50">
<td>专业课程</td>
<td colspan="7"></td>
</tr>
<tr bgcolor="aliceblue" align="center" height="50">
<td rowspan="8">工作经历</td>
<td>起止时间</td>
<td colspan="2">工作单位</td>
<td colspan="2">工作岗位</td>
<td colspan="2">离职原因</td>
</tr>
<tr bgcolor="aliceblue" align="center" height="50">
<td></td>
<td colspan="2"> </td>
<td colspan="2"> </td>
<td colspan="2"> </td>
<tr bgcolor="aliceblue" align="center" height="50">
<td></td>
<td colspan="2"> </td>
<td colspan="2"> </td>
<td colspan="2"> </td>
<tr bgcolor="aliceblue" align="center" height="50">
<td></td>
<td colspan="2"> </td>
<td colspan="2"> </td>
<td colspan="2"> </td>
<tr bgcolor="aliceblue" align="center" height="50">
<td></td>
<td colspan="2"> </td>
<td colspan="2"> </td>
<td colspan="2"> </td>
<tr bgcolor="aliceblue" align="center" height="50">
<td></td>
<td colspan="2"> </td>
<td colspan="2"> </td>
<td colspan="2"> </td>
<tr bgcolor="aliceblue" align="center" height="50">
<td></td>
<td colspan="2"> </td>
<td colspan="2"> </td>
<td colspan="2"> </td>
<tr bgcolor="aliceblue" align="center" height="50">
<td></td>
<td colspan="2"> </td>
<td colspan="2"> </td>
<td colspan="2"> </td>
</tr>
</table>
</body>
</html>
运行效果:
作业截图1.jpg 作业截图2.jpg
网友评论