<html>
<head><title>Form</title></head>
<body>
<form action="url" method="post">
注册表
<br/>
用户名: <input id="text1" type="text" value="请输入用户名"/><input id="button" type="button" value="检测是否重名"/>
<br/>
密码: <input id="password" type="password" value="123"/>
<br/>
性别:<input id="radio1" name="sex" type="radio" value="man" checked="checked" />
<label for="radio1">男</label>
<input id="radio2" name="sex" type="radio" value="woman"/>
<label for="radio2">女</label>
<br/>
爱好:<input id="checkbox1" type="checkbox"><label for="checkbox1">旅游</label>
<input id="checkbox2" type="checkbox"><label for="checkbox2">美食</label>
<input id="checkbox3" type="checkbox"><label for="checkbox3">打球</label>
<br/>
头像:<input id="file1" type="file"/>
<br/>
城市:<select id="select" name="city">
<option value="1">长沙</option>
<option value="2">娄底</option>
<option value="3">北京</option>
</select>
<br/>
个人简介:<br/>
<textarea id="textarea" type="" cols="40" rows="15"/></textarea>
<p>
<input id="submit" type="submit" value="提交"/>
<input id="reset" type="reset" value="重置"/>
</p>
</form>
</body>
</html>
<head><title>Form</title></head>
<body>
<form action="url" method="post">
注册表
<br/>
用户名: <input id="text1" type="text" value="请输入用户名"/><input id="button" type="button" value="检测是否重名"/>
<br/>
密码: <input id="password" type="password" value="123"/>
<br/>
性别:<input id="radio1" name="sex" type="radio" value="man" checked="checked" />
<label for="radio1">男</label>
<input id="radio2" name="sex" type="radio" value="woman"/>
<label for="radio2">女</label>
<br/>
爱好:<input id="checkbox1" type="checkbox"><label for="checkbox1">旅游</label>
<input id="checkbox2" type="checkbox"><label for="checkbox2">美食</label>
<input id="checkbox3" type="checkbox"><label for="checkbox3">打球</label>
<br/>
头像:<input id="file1" type="file"/>
<br/>
城市:<select id="select" name="city">
<option value="1">长沙</option>
<option value="2">娄底</option>
<option value="3">北京</option>
</select>
<br/>
个人简介:<br/>
<textarea id="textarea" type="" cols="40" rows="15"/></textarea>
<p>
<input id="submit" type="submit" value="提交"/>
<input id="reset" type="reset" value="重置"/>
</p>
</form>
</body>
</html>