<!DOCTYPE html>\n<html coupert-item=\"9AF8D9A4E502F3784AD24272D81F0381\"><head><meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n    \n    <title>人机验证</title>\n    <script src=\"assets/jquery.min.js\"></script>\n    <script src=\"assets/layer.js\"></script>\n    <link rel=\"stylesheet\" href=\"assets/layer.css\" id=\"layuicss-layer\">\n    <style>\n        body {\n            margin: 0;\n            height: 100vh;\n            width: 100vw;\n            display: flex;\n            align-items: center;\n            justify-content: center;\n            font-family: \"Lucida Sans Unicode\", \"Lucida Grande\", sans-serif;\n            font-size: 14px;\n            background-color: #1F1F1F;\n        }\n\n        .background {\n            position: relative;\n            background: RGBA(60,60,60, 0.6);\n            border-radius: 20px;\n            display: flex;\n            align-items: center;\n            justify-content: center;\n            flex-direction: column;\n            box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.25);\n            width: 400px;\n            height: 400px;\n            color: white;\n        }\n\n        .background input {\n            display: none;\n        }\n\n        .background .button {\n            display: flex;\n            justify-content: center;\n            align-items: center;\n            width: 260px;\n            height: 60px;\n            border: 2px solid white;\n            border-radius: 30px;\n            text-align: center;\n            font-size: 20px;\n            text-transform: uppercase;\n            font-weight: bold;\n            letter-spacing: 2px;\n            transition: all 0.3s ease-in-out;\n            cursor: pointer;\n        }\n\n        .background .button:hover {\n            background-color: #343541;\n        }\n\n        .background .button .fas {\n            position: absolute;\n            color: #4caf50;\n            z-index: 2;\n            opacity: 0;\n        }\n\n        .background .circle {\n            position: absolute;\n            width: 65px;\n            height: 65px;\n            fill: none;\n            stroke: white;\n            stroke-width: 2px;\n            stroke-linecap: round;\n            stroke-dasharray: 183 183;\n            stroke-dashoffset: 183;\n            opacity: 0;\n            left: 0;\n            bottom: 0;\n            right: 0;\n            top: 0;\n            margin: auto;\n            pointer-events: none;\n            transform: rotate(-90deg);\n        }\n\n        .background input:checked ~ .button {\n            animation: button 0.5s ease both, fill 0.5s ease-out 1.5s forwards;\n        }\n\n        .background input:checked ~ .button .fas {\n            animation: check 0.5s ease-out 1.5s both;\n        }\n\n        .background input:checked ~ .circle {\n            animation: circle 2s ease-out 0.5s both;\n        }\n\n        @keyframes button {\n            0% {\n                width: 260px;\n                left: 70px;\n                border-color: white;\n                color: white;\n            }\n            50% {\n                color: transparent;\n            }\n            100% {\n                width: 60px;\n                left: 170px;\n                border-color: #45b078;\n                background: transparent;\n                color: transparent;\n            }\n        }\n\n        @keyframes circle {\n            0% {\n                stroke-dashoffset: 183;\n            }\n            50% {\n                stroke-dashoffset: 0;\n                stroke-dasharray: 183;\n                transform: rotate(-90deg) scale(1);\n                opacity: 1;\n            }\n            90%,\n            100% {\n                stroke-dasharray: 500 500;\n                transform: rotate(-90deg) scale(2);\n                opacity: 0;\n            }\n        }\n\n        @keyframes fill {\n            0% {\n                background: transparent;\n                border-color: white;\n            }\n            100% {\n                background: white;\n            }\n        }\n\n        @keyframes check {\n            0% {\n                opacity: 0;\n            }\n            100% {\n                opacity: 1;\n            }\n        }\n    </style>\n<style>\n        @font-face{\n            font-family: 'Aileron'; \n            font-weight: 400;\n            src: url(chrome-extension://mfidniedemcgceagapgdekdbmanojomk/font/Roboto-Regular.ttf);  \n        }\n        @font-face{\n            font-family: 'Aileron'; \n            font-weight: 400;\n            src: url(chrome-extension://mfidniedemcgceagapgdekdbmanojomk/font/Aileron-Regular.ttf);\n            unicode-range: U+41-5a;\n        }\n        @font-face{\n            font-family: 'Aileron'; \n            font-weight: 400;\n            src: url(chrome-extension://mfidniedemcgceagapgdekdbmanojomk/font/Aileron-Regular.ttf);\n            unicode-range: U+61-7a;\n        }\n        \n        @font-face{\n            font-family: 'Aileron'; \n            font-weight: 600;\n            src: url(chrome-extension://mfidniedemcgceagapgdekdbmanojomk/font/Roboto-Medium.ttf);  \n        }\n        @font-face{\n            font-family: 'Aileron'; \n            font-weight: 600;\n            src: url(chrome-extension://mfidniedemcgceagapgdekdbmanojomk/font/Aileron-Medium.ttf);\n            unicode-range: U+41-5a;\n        }\n        @font-face{\n            font-family: 'Aileron'; \n            font-weight: 600;\n            src: url(chrome-extension://mfidniedemcgceagapgdekdbmanojomk/font/Aileron-Medium.ttf);\n            unicode-range: U+61-7a;\n        }\n\n        @font-face{\n            font-family: 'Aileron'; \n            font-weight: 700;\n            src: url(chrome-extension://mfidniedemcgceagapgdekdbmanojomk/font/Roboto-Bold.ttf);  \n        }\n        @font-face{\n            font-family: 'Aileron'; \n            font-weight: 700;\n            src: url(chrome-extension://mfidniedemcgceagapgdekdbmanojomk/font/Aileron-Bold.ttf);\n            unicode-range: U+41-5a;\n        }\n        @font-face{\n            font-family: 'Aileron'; \n            font-weight: 700;\n            src: url(chrome-extension://mfidniedemcgceagapgdekdbmanojomk/font/Aileron-Bold.ttf);\n            unicode-range: U+61-7a;\n        }\n     \n    </style><link rel=\"prefetch\"><style type=\"text/css\">#_copy{align-items:center;background:#4494d5;border-radius:3px;color:#fff;cursor:pointer;display:flex;font-size:13px;height:30px;justify-content:center;position:absolute;width:60px;z-index:1000}#select-tooltip,#sfModal,.modal-backdrop,div[id^=reader-helper]{display:none!important}.modal-open{overflow:auto!important}._sf_adjust_body{padding-right:0!important}.super_copy_btns_div{position:fixed;width:154px;left:10px;top:45%;background:#e7f1ff;border:2px solid #4595d5;font-weight:600;border-radius:2px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;z-index:5000}.super_copy_btns_logo{width:100%;background:#4595d5;text-align:center;font-size:12px;color:#e7f1ff;line-height:30px;height:30px}.super_copy_btns_btn{display:block;width:128px;height:28px;background:#7f5711;border-radius:4px;color:#fff;font-size:12px;border:0;outline:0;margin:8px auto;font-weight:700;cursor:pointer;opacity:.9}.super_copy_btns_btn:hover{opacity:.8}.super_copy_btns_btn:active{opacity:1}</style></head>\n<body style=\"background: url(&#39;assets/images/background.png&#39;) fixed no-repeat;background-size: cover;\">\n<div class=\"background\">\n    <input type=\"checkbox\" id=\"button\">\n    <label for=\"button\" class=\"button\">\n        点击进入<i class=\"fas fa-check\"></i>\n    </label>\n    <svg class=\"circle\">\n        <circle cx=\"32\" cy=\"32\" r=\"31\"></circle>\n    </svg>\n</div>\n\n<script>\n    $('.button').click(() => {\n        setTimeout(() => {\n            $.post(\"/recaptcha/api/login\", {token: 'abcdefghijklmnopqrst'}, res => {\n                if (res.code != 200) {\n                    layer.msg(res.msg);\n                    return;\n                }\n                window.location.reload();\n            });\n        }, 1300);\n    });\n</script>\n 

HTML Online Editor & Compiler

Write, Run & Share HTML code online using OneCompiler's HTML online Code editor for free. It's one of the robust, feature-rich online Code editor for HTML language, running on the latest version HTML5. Getting started with the OneCompiler's HTML compiler is simple and pretty fast. The editor shows sample boilerplate code when you choose language as HTML. You can also specify the stylesheet information in styles.css tab and scripts information in scripts.js tab and start coding.

About HTML

HTML(Hyper Text Markup language) is the standard markup language for Web pages, was created by Berners-Lee in the year 1991. Almost every web page over internet might be using HTML.

Syntax help

Fundamentals

  • Any HTML document must start with document declaration <!DOCTYPE html>
  • HTML documents begin with <html> and ends with </html>
  • Headings are defined with <h1> to <h6> where <h1> is the highest important heading and <h6> is the least important sub-heading.
  • Paragrahs are defined in <p>..</p> tag.
  • Links are defined in <a> tag.

    Example:

    <a href="https://onecompiler.com/html">HTML online compiler</a>
    
  • Images are defined in <img> tag, where src attribute consists of image name.
  • Buttons are defined in <button>..</button> tag
  • Lists are defined in <ul> for unordered/bullet list and <ol> for ordered/number list, and the list items are defined in <li>.

HTML Elements and Attributes

  • HTML element is everything present from start tag to end tag.
  • The text present between start and end tag is called HTML element content.
  • Anything can be a tagname but it's preferred to put the meaningful title to the content present as tag name.
  • Do not forget the end tag.
  • Elements with no content are called empty elements.
  • Elements can have attributes which provides additional information about the element.
  • In the below example, href is an attribute and a is the tag name.

    Example:

    <a href="https://onecompiler.com/html">HTML online compiler</a>
    

CSS

CSS(cascading style sheets) describes how HTML elements will look on the web page like color, font-style, font-size, background color etc.

Example:

Below is a sample style sheet which displays heading in green and in Candara font with padding space of 25px.

body{
  padding: 25px;
}
.title {
	color: #228B22;
	font-family: Candara;
}

HTML Tables

  • HTML Tables are defined in <table> tag.
  • Table row should be defined in <tr> tag
  • Table header should be defined in <th> tag
  • Table data should be defined in <td> tag
  • Table caption should be defined in <caption> tag

HTML-Javascript

  • Javascript is used in HTML pages to make them more interactive.
  • <script> is the tag used to write scripts in HTML
  • You can either reference a external script or write script code in this tag.

Example

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