html 来自https://www.ampproject.org/docs/get_started/create/basic_markup

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了html 来自https://www.ampproject.org/docs/get_started/create/basic_markup相关的知识,希望对你有一定的参考价值。

<!doctype html>
<html amp lang="en">
  <head>
    <meta charset="utf-8">
    <script async src="https://cdn.ampproject.org/v0.js"></script>
    <title>Hello, AMPs</title>
    <link rel="canonical" href="http://example.ampproject.org/article-metadata.html" />
    <meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
    <script type="application/ld+json">
      {
        "@context": "http://schema.org",
        "@type": "NewsArticle",
        "headline": "Open-source framework for publishing content",
        "datePublished": "2015-10-07T12:02:41Z",
        "image": [
          "logo.jpg"
        ]
      }
    </script>
    <style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style><noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript>
  </head>
  <body>
    <h1>Welcome to the mobile web</h1>
  </body>
</html>

以上是关于html 来自https://www.ampproject.org/docs/get_started/create/basic_markup的主要内容,如果未能解决你的问题,请参考以下文章

html JavaScript导入后备(来自HTML5 Boilerplate)

html JavaScript导入后备(来自HTML5 Boilerplate)

html JavaScript导入后备(来自HTML5 Boilerplate)

HTML 来自Google Code的HTML 5 shiv

html 来自JavaScript.html的il metodo fromCharCode()

html 来自http://www.websocket.org/echo.html