zoukankan      html  css  js  c++  java
  • 服务器404错误页面

    <!DOCTYPE html>
    <html lang="en">
    
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta http-equiv="X-UA-Compatible" content="ie=edge">
        <title>Document</title>
    </head>
    
    <body>
        <h1></h1>
        <input type="button" onclick="location.reload()" value="点击刷新">
    </body>
    
    </html>
    <style>
        h1 {
            margin: auto;
            color: darkgray;
            text-align: center;
        }
    
        input {
            border: solid lavender 1px;
            background: aliceblue;
            border-radius: 5px;
            padding: 5px 10px;
            color: cornflowerblue;
            display: block;
            margin: 0 auto;
            font-size: 14px;
            margin-top: 15px;
            font-weight: bold;
        }
    </style>
    <script>
        window.document.title = '404.页面丢失';
        var h1 = document.getElementsByTagName('H1')[0];
        h1.innerHTML = '当前账号已掉线,请尝试登陆 ··· ···';
        var input = document.createElement("input");
        document.getElementsByTagName('H1')[0].style.marginTop = window.innerHeight / 2 / 2 + 'px';
    </script>
  • 相关阅读:
    包 (package)
    Object类
    异常
    接口
    抽象类
    多态(经典案例)
    三大特性:(经典代码)
    对象创建的过程(重点理解)
    final关键字
    cocos2dx工程中接入支付宝sdk
  • 原文地址:https://www.cnblogs.com/FGang/p/11132564.html
Copyright © 2011-2022 走看看