<form action="#">
<!-- 隐藏域: 用户不可见的一个输入区域,提交表单时携带一些额外的附加验证数据 -->
<input type="hidden" name="tag" value="123"><br>
姓名:<input type="text" value="hello" maxlength="6" name="name"> <br>
密码:<input type="password" value="123" maxlength="6" name="pwd">
<br>
性别:
<input type="radio" name="sex" value="male">男
<input type="radio" name="sex" value="female" checked>女
<br>
爱好:
<input type="checkbox" name="hobby" value="smoke">抽烟
<input type="checkbox" name="hobby" value="drink">喝酒
<input type="checkbox" name="hobby" value="spore">烫头
<br>
籍贯:
<select name="city" id="">
<option value="guangdong">广东</option>
<option value="shenzhen">深圳</option>
<option value="beijing">北京</option>
</select>
<br>
<!-- 隐藏域 -->
<input type="hidden" name="tag" value="123"><br>
<button>确认</button>
<button>重置</button>
<button>检测账户是否被注册</button>
</form>
标签:籍贯,重置,表单,烫头,性别,隐藏
From: https://www.cnblogs.com/unity-yancy/p/18168979