<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>会员注册</title>
</head>
<body>
<header class="title">欢迎注册本站会员</header>
<form
action="check.php"
class="register"
method="post"
enctype="multipart/form-data"
></form>
<label for="uesrname">昵称</label>
<input
type="text"
name="username"
id="username"
placeholder="请输入您的昵称"
required
/>
<label for="password">密码</label>
<input type="password" placeholder="6-8位数字及字母" />
<label for="phonenumber">请输入手机号</label>
<input type="tel" placeholder="请输入您的手机号" />
<button>获取验证码</button>
<label for="text">请输入验证码</label>
<input type="text" placeholder="请输入手机收到的验证码" />
<label for="text">请选择您的性别</label>
<input type="radio" name="gender" id="mela" value="mela" /><label for="mela"
>男</label
>
<input type="radio" name="gender" id="femela" value="femela" /><label
for="femela"
>女</label
>
<label for="#">请选择您的爱好</label>
<input
type="checkbox"
name="hobby[]"
id="music"
value="music"
checked
/><label for="music">音乐</label>
<input type="checkbox" name="hobby[]" id="art" value="art" /><label
for="art"
>艺术</label
><input type="checkbox" name="hobby[]" id="sleep" value="sleep" /><label
for="sleep"
>睡觉</label
>
<label for="edu[]">学历</label>
<select name="edu[]" id="edu">
<option value="1" selected>本科</option>
<option value="2">硕士</option>
<option value="3">博士</option>
</select>
<label for="user-pic">头像</label>
<input type="file" name="user_pic" id="user-pic" />
<input type="hidden" name="MAX_FILE_SIZE" value="80000" />
<div class="user-pic" style="grid-column: 2"></div>
<label for="comment">备注</label>
<textarea
name="comment"
id="comment"
placeholder="不能超过120个字符"
cols="30"
rows="10"
></textarea>
<span class="tips">还能输入<em>50</em>个字</span>
<button>立即注册</button>
</body>
</html>