<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>会员注册</title>
<link rel="stylesheet" href="static/css/style1.css">
</head>
<body>
<h3 class="title">会员注册</h3>
<form action="check.php" method="POST" enctype="multipart/form-data" class="register">
<label for="username">账号</label>
<input type="text" name="username" id="username" value="" placeholder="至少输入六位" autofocus required>
<label for="email">邮箱</label>
<input type="email" name="email" id="email" placeholder="demo@email.com" value="">
<label for="pwd">密码</label>
<input type="password" name="pwd" id="pwd" placeholder="至少输入六位" required>
<label for="pwd2">确认</label>
<input type="password" name="pwd2" id="pwd2" placeholder="******" required>
<label for="xb">性别</label>
<div>
<input type="radio" name="nan" id="nan" value="nan"><label for="nan">男</label>
<input type="radio" name="nv" id="nv" value="nv" checked><label for="nv">女</label>
<input type="radio" name="m" id="m" value="m"><label for="nan">保密</label>
</div>
<label for="hobby">爱好</label>
<div>
<input type="checkbox" name="hobby[]" id="game" value=""><label for="game">游戏</label>
<input type="checkbox" name="hobby[]" id="boat" value=""><label for="boat">划船</label>
<input type="checkbox" name="hobby[]" id="program" value="" checked><label for="program">编程</label>
</div>
<label for="xueli">学历</label>
<select for="edu">
<option value="1">初中</option>
<option value="2">高中</option>
<option value="3">大专</option>
<option value="4" selected>本科</option>
</select>
<label for="userpic">头像</label>
<input type="hidden" name="MAX_FILE_SIZE" value="80008">
<input type="file" value="" name="userpic" id="userpic">
<label for="jl">简历</label>
<input type="hidden" name="MAX_FILE_SIZE" value="10000">
<input type="file" name="jl" id="jl">
<label for="contont">备注</label>
<textarea name="contont" id="contont" placeholder="不超过120个字" cols="30" rows="6"></textarea>
<button>提交</button>
<button type="reset">重置</button>
</form>
</body>
</html>
效果图