写一段优美的登录页面的html代码
时间: 2023-12-22 07:15:32 浏览: 22
<!DOCTYPE html>
<html>
<head>
<title>Login Page</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div class="container">
<form class="login-form" action="#" method="post">
<h1>Login</h1>
<div class="input-group">
<label for="username">Username:</label>
<input type="text" id="username" name="username" required>
</div>
<div class="input-group">
<label for="password">Password:</label>
<input type="password" id="password" name="password" required>
</div>
<div class="input-group">
<input type="submit" value="Login">
</div>
</form>
</div>
</body>
</html>