码迷,mamicode.com
首页 > 其他好文 > 详细

【 自定义友好错误页 】

时间:2020-05-01 01:29:29      阅读:84      评论:0      收藏:0      [点我收藏+]

标签:location   enc   res   UNC   处理   cat   load   web   alt   

404友好错误页

<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width" />
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <title>页面不存在</title>
</head>
<body>
    <!--<hgroup>
        <h1>错误。</h1>
        <h2>处理你的请求时出错。</h2>
    </hgroup>-->
    <img style="width:100%;" src="http://resource.i-conference.cn/i-conference/img/404.jpg" alt="404错误" />
    <script>
        window.onload = function () {
            setTimeout(function () {
                location.href = "https://www.baidu.com/";
            }, 1000);
        }
    </script>
</body>
</html>

【 自定义友好错误页 】

标签:location   enc   res   UNC   处理   cat   load   web   alt   

原文地址:https://www.cnblogs.com/kikyoqiang/p/12812168.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!