用html写一个学生信息注册页面
时间: 2023-10-05 11:08:00 浏览: 136
<!DOCTYPE html>
<html>
<head>
<title>学生信息注册页面</title>
</head>
<body>
<h1>学生信息注册页面</h1>
<form>
<label for="name">姓名:</label>
<input type="text" id="name" name="name" required>
<br>
<label for="age">年龄:</label>
<input type="number" id="age" name="age" required>
<br>
<label for="gender">性别:</label>
<select id="gender" name="gender">
<option value="male">男</option>
<option value="female">女</option>
</select>
<br>
<label for="major">专业:</label>
<input type="text" id="major" name="major" required>
<br>
<label for="email">邮箱:</label>
<input type="email" id="email" name="email" required>
<br>
<label for="password">密码:</label>
<input type="password" id="password" name="password" required>
<br>
<input type="submit" value="注册">
</form>
</body>
</html>
阅读全文