HTML好看的用户管理页面
时间: 2024-01-21 18:03:21 浏览: 24
以下是一个简单的HTML用户管理页面的示例:
```html
<!DOCTYPE html>
<html>
<head>
<title>用户管理</title>
<style>
table {
border-collapse: collapse;
width: 100%;
}
th, td {
text-align: left;
padding: 8px;
}
tr:nth-child(even) {
background-color: #f2f2f2;
}
th {
background-color: #4CAF50;
color: white;
}
</style>
</head>
<body>
<h1>用户管理</h1>
<table>
<tr>
<th>用户名</th>
<th>邮箱</th>
<th>操作</th>
</tr>
<tr>
<td>John Doe</td>
<td>johndoe@example.com</td>
<td>
<button>Edit</button>
<button>Delete</button>
</td>
</tr>
<tr>
<td>Jane Smith</td>
<td>janesmith@example.com</td>
<td>
<button>Edit</button>
<button>Delete</button>
</td>
</tr>
<!-- 更多用户行 -->
</table>
</body>
</html>
```
这个示例页面使用了简单的表格布局来展示用户信息,包括用户名、邮箱和操作按钮。你可以根据自己的需求进行样式和内容的修改。