登錄頁面用戶登錄
<html>
<head>
<title>登錄頁面</title>
<style>
body {
background-color: #f3f3f3;
font-family: Arial, Helvetica, sans-serif;
}
h1 {
text-align: center;
color: #333;
}
form {
margin: 0 auto;
width: 300px;
background-color: #fff;
border: 1px solid #eee;
padding: 15px;
}
input[type="text"],
input[type="password"] {
width: 100%;
padding: 12px 20px;
margin: 8px 0;
display: inline-block;
border: 1px solid #ccc;
box-sizing: border-box;
}
input[type="submit"] {
background-color: #4CAF50;
color: white;
padding: 14px 20px;
margin: 8px 0;
border: none;
cursor: pointer;
width: 100%;
}
input[type="submit"]:hover {
background-color: #45a049;
}
</style>
</head>
<body>
<h1>用戶登錄</h1>
<form>
<p>
<label>用戶名:</label>
<input type="text" name="username" placeholder="請輸入用戶名" required>
</p>
<p>
<label>密碼:</label>
<input type="password" name="password" placeholder="請輸入密碼" required>
</p>
<p>
<input type="submit" value="登錄">
</p>
</form>
</body>
</html>