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;
}
![]()
label {
display: block;
margin-top: 10px;
}
input[type="text"], input[type="password"] {
width: 100%;
padding: 10px;
border-radius: 4px;
border: 1px solid #ccc;
}
input[type="submit"] {
width: 100%;
padding: 10px;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;

}
input[type="submit"]:hover {
background-color: #45a049;
}
</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>
这是一个非常基础的注册页面设计,包含了用户名、密码和邮箱输入框以及一个注册按钮,你可以根据需要进一步添加其他字段或样式,这只是一个示例,实际开发中还需要考虑安全性、数据验证和后端处理等方面的问题。
TIME
