xgqfrms™, xgqfrms® : xgqfrms's offical website of cnblogs! xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

HTML5 meta & SEO All In One

HTML5 meta & SEO All In One

http-equiv & favicon

favicon


<link rel="icon" type="image/x-icon" href="http://example.com/favicon.ico" />

<link rel="icon" type="image/png" href="http://example.com/favicon.png" />

<link rel="icon" type="image/gif" href="http://example.com/favicon.gif" />

<link rel="icon" type="image/jpeg" href="http://example.com/favicon.jpeg" />

<link rel="icon" type="image/webp" href="http://example.com/favicon.webp" />


https://www.cnblogs.com/xgqfrms/tag/favicon/

https://stackoverflow.com/questions/10218178/necessary-to-add-link-tag-for-favicon-ico/40791812#40791812

cache-control

image

<!DOCTYPE html>
<html lang="zh-Hans">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta http-equiv='cache-control' content='no-cache'>
    <meta http-equiv='expires' content='0'>
    <meta http-equiv='pragma' content='no-cache'>
    <link rel="icon" type="image/png" href="https://cdn.xgqfrms.xyz/logo/favicon.png">
    <link rel=”apple-touch-icon-precomposed” href=”https://cdn.xgqfrms.xyz/logo/logo.png”>
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <meta name="author" content="xgqfrms">
  <meta name="generator" content="VS code">
  <title></title>
  <style>
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
  </style>
  <!-- <link rel="stylesheet" href="./index.css"> -->
</head>
<body>
  <header>
    <h1></h1>
  </header>
  <main>
    <article>
      <section>
        <a href="https://feiqa.xgqfrms.xyz/index.html"></a>
      </section>
    </article>
  </main>
  <footer>
    <p>copyright&copy; xgqfrms 2021</p>
  </footer>
  <!-- js -->
  <script>
    const log = console.log;
  </script>
</body>
</html>

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta

(🐞 反爬虫测试!打击盗版⚠️)如果你看到这个信息, 说明这是一篇剽窃的文章,请访问 https://www.cnblogs.com/xgqfrms/ 查看原创文章!

refs



©xgqfrms 2012-2021

www.cnblogs.com/xgqfrms 发布文章使用:只允许注册用户才可以访问!

原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️!


posted @ 2022-04-18 21:04  xgqfrms  阅读(57)  评论(2编辑  收藏  举报