<h3>会员注册</h3>
<form action="check.php" method="POST">
<label for="username">姓名:</label>
<input type="text" id="username" placeholder="不少于6个字符" required autofocus><br>
<!-- 头像 -->
<label for="pic">头像</label>
<input type="file" name="pic">
<input type="hidden" max="MAX_FILE_SIZE" value="80000"><br>
<label for="email">邮箱:</label>
<input type="email" id="email" placeholder="demo@email.com" required autofocus><br>
<label for="phone">手机:</label>
<input type="text" id="phone" placeholder="请输入11位手机号码" required autofocus><br>
<!-- 单选框 -->
<label for="sex">性别</label>
<div>
<input type="radio" id="male" name="gender" value="male"><label for="">男</label>
<input type="radio" id="female" name="gender" value="female"><label for="">女</label>
<!-- checked:默认选项 -->
<input type="radio" id="secret" name="gender" value="secret" checked><label for="">保密</label>
</div>
<!-- 复选框 -->
<label for="game">爱好</label>
<div>
<input type="checkbox" id="music" name="music" value="data[]"> <label for="music">音乐</label>
<input type="checkbox" id="jump" name="jump" value="data[]"> <label for="jump">爬山</label>
<input type="checkbox" id="game" name="game" value="data[]" checked> <label for="game">游戏</label>
</div>
<!-- 学历 -->
<label for="edu">学历:</label>
<select name="edu">
<option name="" id="" value="小学">小学</option>
<option name="" id="" value="初中">初中</option>
<option name="" id="" value="高中">高中</option>
<option name="" id="" value="大专">大专</option>
<option name="" id="" value="本科">本科</option>
<option name="" id="" value="研究生">研究生</option>
</select>
<br>
<label for="about">介绍</label><br>
<textarea name="about" id="about" cols="30" rows="10" placeholder="仅输入40个字符"></textarea>
<p>
<button type="button">提交</button>
<button type="reset">重置</button>
</p>
</form>