<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>404 - 页面未找到</title> <style> body { font-family: Arial, sans-serif; text-align: center; margin: 0; padding: 0; height: 100vh; display: flex; align-items: center; justify-content: center; } .error-container { padding: 100px 20px; border: 2px solid #ddd; border-radius: 5px; background-color: #f9f9f9; } .error-container h1 { color: #444; font-size: 50px; margin-bottom: 20px; } .error-container p { color: #666; font-size: 20px; } </style> </head> <body> <div class="error-container"> <h1>错误 404</h1> <p>抱歉,你访问的页面不存在。</p> </div> </body> </html>
标签:container,color,html,404,font,页面 From: https://www.cnblogs.com/zhenggc99/p/18356278