![]()
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>表单综合实例</title>
</head>
<body>
<form>
<table align="center" width="500" border="0" cellpadding="2" cellspacing="0">
<caption align="center"> <h2>学生注册信息</h2> </caption>
<tr>
<th>姓名:</th>
<td><input type="text" name="username" size="20"></td>
</tr>
<tr>
<th>性别:</th>
<td>
<input type="radio" name="sex" value="woman">女
<input type="radio" name="sex" value="man">男
<input type="radio" name="sex" checked value="secret">保密
</td>
</tr>
<tr>
<th>学历:</th>
<td>
<select name="学历">
<option>--请选择--</option>
<option value="1">小学</option>
<option value="2">高中</option>
<option value="3">专科</option>
<option value="4">本科</option>
</select>
</td>
</tr>
<tr>
<th>选修课程</th>
<td>
<input type="checkbox" name="x1" value="Linux">Linux
<input type="checkbox" name="x2" value="Apache">Apache
<input type="checkbox" name="x3" value="MySQL">MySQL
<input type="checkbox" name="x4" value="PHP">PHP
</td>
</tr>
<tr>
<th>自我评价:</th>
<td>
<textarea wrap="physical" name="bz" cols="40" rows="20"></textarea>
</td
</tr>
<tr>
<td colspan="2" align="center">
<input type="submit" name="submit" value="提交">
<input type="reset" name="reset" value="重置">
</td>
</tr>
</table>
</form>
</body>
</html>