免费404页面代码分享 404错误页面源码

2022-04-21 13:22

免费404页面代码分享?404页面是网站中必不可少的部分,可以有效的防止网站中出现死链,引导用户进入其他页面。一款好看的404页面可以给用户带来更好的体验,很多小伙们想要制作自己网站的404页面,但是又找不到免费的代码。那么今天小编就为大家带来了免费404页面代码分享。

免费404页面代码分享

<!DOCTYPE HTML>

<html>

    <head>

        <title>404</title>

        <meta charset="utf-8" />

        <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />

        <link rel="stylesheet" href="assets/css/main.css" />

        <!--[if lte IE 9]><link rel="stylesheet" href="assets/css/ie9.css" /><![endif]-->

        <noscript><link rel="stylesheet" href="assets/css/noscript.css" /></noscript>

    </head>

    <body>

 

        <!-- Wrapper -->

            <div id="wrapper">

 

                <!-- Header -->

                    <header id="header">

                        <div class="logo">

                            <span class="icon fa-diamond"></span>

                        </div>

                        <div class="content">

                            <div class="inner">

                                <h1>404</h1>

                                <p><!--[-->对不起,你要找的这个页面突然不见了。不过,放心,一切都在我的掌控之中,不会跑多远!<!--]--></p>

                            </div>

                        </div>

                        <nav>

                            <ul>

                                <li><a href="###">首页</a></li>

                                <li><a href="###">热搜</a></li>

                                <li><a href="###">联系</a></li>

                                <li><a href="###">关于</a></li>

                                <!--<li><a href="#elements">Elements</a></li>-->

                            </ul>

                        </nav>

                    </header>

 

                <!-- Main -->

 

 

                <!-- Footer -->

                    <footer id="footer">

                        <p class="copyright">© Untitled. Design: <a href="http://www.baidu.com">百度</a>.</p>

                    </footer>

 

            </div>

 

        <!-- BG -->

            <div id="bg"></div>

 

        <!-- Scripts -->

            <script src="assets/js/jquery.min.js"></script>

            <script src="assets/js/skel.min.js"></script>

            <script src="assets/js/util.js"></script>

            <script src="assets/js/main.js"></script>

 

    </body>

</html>

免费404页面代码分享 404错误页面源码

注意:以上只是代码片段,想要完整的代码请点击下载链接https://pan.baidu.com/s/18NcQScW6GKshXBKwHabTnA

提取码:rgaw

以上就是小编今天为大家带来的免费404页面代码分享以及404错误页面源码全部内容,希望能够帮助到大家。

网友评论

相关阅读

最近更新