html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
</head>
<body>
请输入注册信息:<br>
<form action="doreg.jsp" method="post" name="form" style="border: 1px solid red; width:300px;">
用户名:<input name="name" type="text" /><br><br>
注册密码:<input name="powssard1" type="password" /><br>
再次密码:<input name="powssard1" type="password" /><br>
性别:<input name="sex" type="radio" value="男" checked />男 <input name="sex" type="radio" value="女" />女<br>
学历:<select name="education">
<option value="中专">中专</option>
<option value="大专">大专</option>
<option value="本科" selected>本科</option>
<option value="研究生">研究生</option>
</select><br>
爱好:<input name="like" type="checkbox" value="唱歌" />唱歌
<input name="like" type="checkbox" value="跳舞" />跳舞
<input name="like" type="checkbox" value="阅读" />阅读
<input name="like" type="checkbox" value="旅游" />旅游<br>
<input name="提交" type="submit" />
<input name="重置" type="reset" />
</form>
</body>
</html>