首页 > 其他 > 详细

【 自定义友好错误页 】

时间:2020-05-01 00:54:36      阅读:115      评论:0      收藏:0      [点我收藏+]

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>

【 自定义友好错误页 】

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!