以下是一个简单的关于“Harmony”的登陆页面示例的 HTML 代码框架,您可以根据具体需求进一步完善和美化它的样式: ```html <!DOCTYPE html> <html> <head> <title>Harmony - Login</title> <style> body { font-family: Arial, sans-serif; background-color: #f4f4f4; } #login-container { width: 300px; margin: 0 auto; padding: 20px; background-color: #fff; border: 1px solid #ddd; border-radius: 5px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); } h2 { text-align: center; } input[type="text"], input[type="password"] { width: 100%; padding: 10px; margin-bottom: 10px; border: 1px solid #ccc; border-radius: 3px; } input[type="submit"] { width: 100%; padding: 10px; background-color: #4CAF50; color: #fff; border: none; border-radius: 3px; cursor: pointer; } input[type="submit"]:hover { background-color: #45a049; } a { color: #4CAF50; text-decoration: none; } a:hover { text-decoration: underline; } </style> </head> <body> <div id="login-container"> <h2>Login to Harmony</h2> <form action=""> <input type="text" placeholder="Username" /> <input type="password" placeholder="Password" /> <input type="submit" value="Login" /> </form> <p>Don't have an account? <a href="#">Sign Up</a></p> <p>Forgot your password? <a href="#">Reset Password</a></p> </div> </body> </html> ``` 在上述代码中,我们创建了一个简单的登陆页面布局,包括用户名和密码输入框、登陆按钮,以及注册和忘记密码的链接。您可以根据实际的需求,进一步修改样式和添加功能。 [2024-09-30 09:52:13 | AI写代码神器 | 592点数解答]