Blogger Information
Blog 6
fans 0
comment 0
visits 1405
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
前端学习-3
小羊bug库
Original
219 people have browsed it

<!DOCTYPE html>

<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>用户注册表</title>
</head>
<body>
<form action="register.php" method="post">
<fieldset>
<legend>注册</legend>
<div>
<label for="username">用户名:</label>
<input type="text" name="username" id="username" placeholder="用户名" required />
</div>
<div>
<label for="password">密码:</label>
<input type="password" name="password" id="password" placeholder="数字+字母 不少于6位" required />
</div>
<div>
<label for="email">邮箱:</label>
<input type="email" name="email" id="email" placeholder="username@email.com" required />
</div>
<div>
<label for="birthday">生日:</label>
<input type="date" name="birthday" id="birthday" min="1949-01-01" value="2022-01-01" />
</div>
<div class="sex">
<label for="male">性别:</label>
<input type="radio" name="sex" value="male" id="male" checked />
<label for="male">男</label>
<input type="radio" name="sex" value="male" id="female" />
<label for="female">女</label>
</div>
<div>
<label for="">爱好:</label>
<input type="checkbox" name="hobby[]" value="trave" id="trave" /><label for="trave">旅游</label>
<input checked type="checkbox" name="hobby[]" value="program" id="programe" /><label for="program">编程</label>
<input type="checkbox" name="hobby[]" value="shoot" id="shoot" /><label for="shoot">摄影</label>
<input checked type="checkbox" name="hobby[]" value="game" id="game" /><label for="game">游戏</label>
</div>
<div>
<label for="">年级</label>
<select name="edu" id="">
<option value="1" selected disabled>-请选择-</option>
<option value="2">高一</option>
<option value="3">高二</option>
<option value="4">高三</option>
</select>
</div>
<button>提交</button>
</fieldset>
</form>
</body>
</html>

Correcting teacher:PHPzPHPz

Correction status:unqualified

Teacher's comments:根据作业内容选取标题,注意作业规范,代码内容使用代码块包裹,带有总结和结果图
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post