图书管理系统界面设计代码html
时间: 2024-01-04 10:00:19 浏览: 32
图书管理系统界面设计的HTML代码如下:
```html
<!DOCTYPE html>
<html>
<head>
<title>图书管理系统</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}
h1 {
text-align: center;
margin: 20px 0;
}
form {
text-align: center;
}
label {
display: block;
margin-top: 20px;
}
input[type="text"],
input[type="password"],
select {
height: 30px;
width: 200px;
font-size: 16px;
padding: 5px;
}
input[type="submit"],
input[type="reset"] {
margin-top: 20px;
height: 40px;
width: 120px;
font-size: 18px;
}
</style>
</head>
<body>
<h1>图书管理系统</h1>
<form action="login.php" method="post">
<label for="username">用户名:</label>
<input type="text" id="username" name="username" required="" autofocus=""><br>
<label for="password">密码:</label>
<input type="password" id="password" name="password" required=""><br>
<input type="submit" value="登录">
<input type="reset" value="重置">
</form>
</body>
</html>
```
以上是一个简单的登录界面设计的HTML代码。页面包含一个标题、一个表单,表单中包含用户名和密码的输入框以及登录和重置按钮。整体界面简洁明了,注重用户体验。