html
<title>注册页面</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f2f2f2;
}
.container {
max-width: 400px;
margin: 0 auto;
padding: 20px;
background-color: #fff;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h2 {
text-align: center;
}
form {
display: flex;
flex-direction: column;
}
input[type="text"], input[type="password"] {
width: 100%;
padding: 15px;
margin-bottom: 10px;
border-radius: 5px;
border: 1px solid #ccc;
}
input[type="submit"] {
width: 100%;
padding: 15px;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
}
</style>
<div class="container">
<h2>注册新用户</h2>
<form action="/register" method="post"> <!-- 表单提交地址和方式根据实际情况修改 -->
<input type="text" name="username" placeholder="用户名" required> <!-- 用户名字段 -->
<input type="password" name="password" placeholder="密码" required> <!-- 密码字段 -->
<input type="submit" value="注册"> <!-- 注册按钮 -->
</form> <!-- 结束表单 -->
</div> <!-- 结束容器 -->
这个页面包含一个简单的注册表单,用户需要输入用户名和密码才能提交注册信息,表单的提交地址和提交方式需要根据实际情况进行修改,页面还包含了一些基本的 CSS 样式,以使页面看起来更加美观和整洁。
TIME
