好看的注册网页 html
时间: 2023-08-31 11:13:38 浏览: 53
以下是一个简单的注册页面的 HTML 代码示例:
```html
<!DOCTYPE html>
<html>
<head>
<title>注册页面</title>
</head>
<body>
<h1>注册</h1>
<form>
<label for="username">用户名:</label><br>
<input type="text" id="username" name="username"><br>
<label for="email">电子邮箱:</label><br>
<input type="email" id="email" name="email"><br>
<label for="password">密码:</label><br>
<input type="password" id="password" name="password"><br>
<label for="confirm-password">确认密码:</label><br>
<input type="password" id="confirm-password" name="confirm-password"><br>
<input type="submit" value="注册">
</form>
</body>
</html>
```
这个页面包含一个标题,一个表单和一个提交按钮。表单包含用户名、电子邮箱、密码和确认密码字段,这些字段都使用标签和输入框来定义。用户填写完这些字段后,可以点击提交按钮来注册。