<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>阶段练习1</title>
</head>
<body>
<form action="#" method="get">
<table border="1" cellspacing="0" cellpadding="10" align="center">
<caption>新员工入职登记表</caption>
<tbody>
<tr>
<td>姓名</td>
<td></td>
<td>性别</td>
<td>
<input type="radio" name="sex"/>男
<input type="radio" name="sex"/>女
</td>
<td >出生日期</td>
<td></td>
<td rowspan="5">一寸近照<br><input type="file"/></td>
</tr>
<tr>
<td>曾用名</td>
<td></td>
<td>体重</td>
<td></td>
</td>
<td>身高</td>
<td></td>
</tr>
<tr>
<td>名族</td>
<td>
<select>
<option value="h">汉</option>
<option value="m">苗</option>
<option value="z">藏</option>
</select>
</td>
<td>籍贯</td>
<td></td>
<td>婚姻状况</td>
<td>
<input type="radio" name="married"/>已婚
<input type="radio" name="married"/>未婚
</td>
</tr>
<tr>
<td>政治面貌</td>
<td>
<input type="radio" name="politics"/>团员
<input type="radio" name="politics"/>群众
</td>
<td>健康状况</td>
<td></td>
<td>血型</td>
<td>
<input type="radio" name="blood type"/>A
<input type="radio" name="blood type"/>B
<input type="radio" name="blood type"/>C
</td>
</tr>
<tr>
<td>身份证号码</td>
<td colspan="5"></td>
</tr>
</tbody>
</table>
</form>
</body>
</html>
运行效果图
测验内容涉及表格、表单、单选框、复选框、下拉列表框,考验的是html综合能力。