用HTML语言写一个会员注册界面要求有用户名、密码、确认密码、电子邮箱、国家/地区、真实姓名、证件类型、证件号码、性别、出生年月日、服务区域
时间: 2023-05-25 10:01:39 浏览: 80
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>会员注册界面</title>
</head>
<body>
<form action="register.php" method="post">
<label for="username">用户名:</label>
<input type="text" id="username" name="username" required><br><br>
<label for="password">密码:</label>
<input type="password" id="password" name="password" required><br><br>
<label for="confirm_password">确认密码:</label>
<input type="password" id="confirm_password" name="confirm_password" required><br><br>
<label for="email">电子邮箱:</label>
<input type="email" id="email" name="email" required><br><br>
<label for="country">国家/地区:</label>
<input type="text" id="country" name="country" required><br><br>
<label for="full_name">真实姓名:</label>
<input type="text" id="full_name" name="full_name" required><br><br>
<label for="id_type">证件类型:</label>
<select id="id_type" name="id_type" required>
<option value="0">请选择</option>
<option value="1">身份证</option>
<option value="2">护照</option>
<option value="3">驾驶证</option>
</select><br><br>
<label for="id_number">证件号码:</label>
<input type="text" id="id_number" name="id_number" required><br><br>
<label for="gender">性别:</label>
<input type="radio" id="male" name="gender" value="male" required>
<label for="male">男</label>
<input type="radio" id="female" name="gender" value="female" required>
<label for="female">女</label><br><br>
<label for="birthday">出生年月日:</label>
<input type="date" id="birthday" name="birthday" required><br><br>
<label for="service_area">服务区域:</label>
<input type="text" id="service_area" name="service_area" required><br><br>
<input type="submit" value="注册">
</form>
</body>
</html>
阅读全文