注册页面
<h3>用户注册</h3>
<form action="login.php" method="POST" onsubmit="return false">
<fieldset>
<legend>每项必填</legend>
<tbody>
<table>
<div>
<label for="user">账号注册</label>
<input type="text" name="username" id="user" placeholder="最少6位数" />
</div>
<div>
<label for="psw">密码</label>
<input type="password" name="psw" id="psw" placeholder="最少8位数" />
</div>
<div>
<label for="psw2">确认密码</label>
<input type="password" name="psw2" id="psw2" placeholder="最少8位数" />
</div>
<div>
<label for="email">邮箱</label>
<input type="email" name="email" id="email" placeholder="email@email.com" />
</div>
<div>
<label>性别:</label>
<select>
<option value="n1">男</option>
<option value="n2">女</option>
<option value="n3">保密</option>
</select>
</div>
<div>
<label>爱好:</label>
<input type="checkbox" name="aihao[]" id="lvyou" value="lvyou" />
<label for="lvyou">旅游</label>
<input type="checkbox" name="aihao[]" id="cang" value="cang" />
<label for="cang">唱歌</label>
<input type="checkbox" name="aihao[]" id="chi" value="chi" checked />
<label for="chi">吃</label>
</div>
<div>
<label>工作:</label>
<input type="radio" name="gz" id="qd" value="qd" />
<label for="qd">前端</label>
<input type="radio" name="gz" id="hf" value="hf" />
<label for="hf">后端</label>
</div>
<button>提交</button>
<input type="reset" value="清空" />
</table>
</tbody>
</fieldset>
</form>
<div>
<label for="">搜索联想</label>
<input type="search" name="search" list="data" />
<datalist id="data">
<option value="html">html</option>
<option value="php">php</option>
</datalist>
</div>