以下是Baidu登錄頁面的HTML代碼:
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Baidu Login</title> <style type="text/css"> /* CSS樣式 */ body { background: #eee; } .container { margin-top: 80px; background: #fff; width: 400px; margin-left: auto; margin-right: auto; padding: 30px; border-radius: 5px; } input[type="text"], input[type="password"] { display: block; margin: 20px 0; width: 100%; padding: 10px; border: none; border-radius: 5px; box-shadow: 0 0 5px gray; } input[type="submit"] { display: block; margin-top: 30px; background: #3385ff; color: #fff; border: none; border-radius: 5px; padding: 10px; width: 100%; box-shadow: 0 0 5px gray; cursor: pointer; font-size: 18px; transition: all 0.2s ease; } input[type="submit"]:hover { background: #4d94ff; } </style> </head> <body> <div class="container"> <form action="" method="post"> <h2>登錄百度賬號</h2> <input type="text" name="username" placeholder="用戶名" required> <input type="password" name="password" placeholder="密碼" required> <input type="submit" value="登錄"> </form> </div> </body> </html>
上一篇java json el
下一篇java e和t