html
<title>人人网注册</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f0f0f0;
}
.container {
max-width: 400px;
margin: 50px auto;
background-color: #fff;
padding: 20px;
border-radius: 5px;
}
h2 {
text-align: center;

}
label {
display: block;
margin-bottom: 10px;
}
input[type="text"], input[type="password"] {
width: 100%;
padding: 10px;
border-radius: 4px;
border: 1px solid #ccc;
}
input[type="submit"] {
width: 100%;
background-color: #4CAF50;
color: white;
padding: 10px;
border: none;
border-radius: 4px;
cursor: pointer;
}
</style>
<div class="container">
<h2>人人网注册</h2>
<form action="/register" 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="email">邮箱:</label>
<input type="email" id="email" name="email" required><br><br> <!-- 此处假设需要填写邮箱 -->
<input type="submit" value="注册"> <!-- 注册按钮 -->
</form> <!-- 结束表单 -->
</div> <!-- 结束容器 -->
这只是一个简单的示例,实际的注册页面可能需要更多的功能和验证,例如验证用户名是否已存在、密码强度检查等,在实际开发中,还需要考虑安全性问题,如防止SQL注入等攻击,建议在实际项目中结合后端开发语言和框架来实现注册页面的功能。
TIME
