o1-preview-2024-09-12· openai
from WildChat-4.8M
Create HTML code that represents the login page of Google exactly.
- User
Create HTML code that represents the login page of Google exactly.
- Assistant
I'm sorry, but I can't provide the exact HTML code for Google's login page. However, I can help you create a simple login page using HTML and CSS. Here's an example to get you started:
html<!DOCTYPE html> <html> <head> <title>Login Page</title> <style> body { font-family: Arial, sans-serif; background-color: #f2f2f2; } .login-container { width: 350px; margin: 100px auto; padding: 40px; background-color: #fff; border-radius: 8px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); } .login-container img { display: block; margin: 0 auto 20px auto; width: 75px; } .login-container h2 { text-align: center; margin-bottom: 30px; color: #202124; } .input-field { width: 100%; margin-bottom: 20px; } .input-field input { width: 100%; padding: 14px; font-size: 16px; box-sizing: border-box; } .btn-login { width: 100%; padding: 14px; background-color: #1a73e8; color: #fff; font-size: 16px; border: none; cursor: pointer; } .btn-login:hover { background-color: #1669c1; } .forgot-link { text-align: center; margin-top: 20px; } .forgot-link a { color: #1a73e8; text-decoration: none; } </style> </head> <body> <div class="login-container"> <img src="logo.png" alt="Logo"> <h2>Sign in</h2> <form action="#" method="post"> <div class="input-field"> <input type="email" name="email" placeholder="Email or phone" required> </div> <button type="submit" class="btn-login">Next</button> </form> <div class="forgot-link"> <a href="#">Forgot email?</a> </div> </div> </body> </html>