html表单
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html >
<head >
<meta http-equiv ="Content-Type" content ="text/html; charset=UTF-8" >
<title > 表单</title >
</head >
<body >
<h3 > 个人简介</h3 >
<form action ="regist" method ="get" >
姓名:<input type ="text" name ="name" value ="张三" />
<br /> <br />
密码:<input type ="password" name ="password" value ="123456" />
<br /> <br />
性别:
男<input type ="radio" name ="gender" />
女<input type ="radio" name ="gender" checked ="checked" />
<br /> <br />
爱好:
吃<input type ="checkbox" name ="hobby" value ="c" />
喝<input type ="checkbox" name ="hobby" checked ="checked" value="h" />
玩<input type ="checkbox" name ="hobby" value ="2" />
乐<input type ="checkbox" name ="hobby" value ="l" />
<br /> <br />
籍贯:
<select name ="belong" >
<option > 山东</option >
<option > 山西</option >
<option > 河南</option >
<option selected ="selected" > 河北</option >
</select >
<br /> <br />
简介:
<textarea rows ="5" cols ="30" > </textarea >
<br /> <br />
<input type ="submit" value ="提交" />
<input type ="reset" value ="重置" />
<input type ="button" value ="普通按钮" />
</form >
<form >
</body >
</html >