404 Not Found 精简美观
效果:
代码如下
<!DOCTYPE HTML> <html> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="robots" content="none" /> <title>404 Not Found</title> <style> *{font-family:"Microsoft Yahei";margin:0;font-weight:lighter;text-decoration:none;text-align:center;line-height:2.2em;} html,body{height:100%;} div{width:100%;text-align:center;margin-top:15%} h1{font-size:100px;line-height:1em;} </style> </head> <body> <div> <h1>404</h1> <h3>大事不妙啦!</h3> <p>很抱歉,您要访问的页面不存在!</p> </div> </body> </html>