使用表单收集个人信息
样例跳转:样例一<—点这跳转
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>个人信息</title>
</head>
<body>
<div>
账户:<input type="text" name="nickName"/>
</div>
<div>
密码:<input type="password" name="check"/>
</div>
<div>
性别:男 <input type="radio" name="question"/> 女 <input type="radio" name="question"/>
</div>
<div>
兴趣: <input type="checkbox" name="relax" />前端开发 <input type="checkbox" name="relax" />后端开发 <input type="checkbox" name="relax" />美工
</div>
<div>
学历:
<select>
<option>本科以下</option>
<option>本科</option>
<option>研究生</option>
</select>
</div>
<div>
<style>
textarea{
width:300px;
height:180px;
}
</style>
个人简历:<br>
<textarea maxlength="105">在这里输入内容...</textarea>
</div>
<div>
<br>
<input type="submit" value="确定"/> <input type="reset" value="重置"/>
</div>
</body>
</html>