<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                [TOC] # 最小推薦 以下是構成任何 Web 頁面(網站/應用程序)的基本要素: ~~~ <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- 以上 2 個 meta 標簽 *必須* 放在 head 之前,以確保正確的文檔呈現; 其他任何 head 元素 *必須* 在這些標簽之后。 --> <title>Page Title</title> ~~~ <br> # 元素 有效的 `<head>` 元素包括 `meta`, `link`, `title`, `style`, `script`, `noscript`, 和`base`。 這些元素提供了如何通過如瀏覽器,搜索引擎,網絡爬蟲等網絡技術來感知和呈現文檔的信息。 ~~~ <!-- 設置此文檔的字符編碼,以便 UTF-8 范圍中的所有字符(如 emoji)都能正確顯示 --> <meta charset="utf-8"> <!-- 設置文檔標題 --> <title>頁面標題</title> <!-- 設置文檔中所有相對鏈接的基礎鏈接 --> <base href="https://example.com/page.html"> <!-- 鏈接一個外部 CSS 文件 --> <link rel="stylesheet" href="styles.css"> <!-- 用于文檔內的 CSS --> <style> /* ... */ </style> <!-- JavaScript & No-JavaScript 標簽 --> <script> // function(s) go here </script> <noscript> <!--無 JS 時顯示--> </noscript> ~~~ <br> # Meta ~~~ <!-- 以上 2 個 meta 標簽 *必須* 放在 head 之前,以確保正確的文檔呈現; 其他任何 head 元素 *必須* 在這些標簽之后。 ? 如果你的項目需要支持 Internet Explorer 11 之前的版本,請使用 content="ie-edge" 標簽。 --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- 允許控制資源從何處加載。在 <head> 中盡可能地靠前放置,因為該標簽僅適用于在其之后聲明的資源。--> <meta http-equiv="Content-Security-Policy" content="default-src 'self'"> <!-- Web 應用的名稱(僅當網站被用作為一個應用時才使用)--> <meta name="application-name" content="應用名稱"> <!-- Chrome、Firefox OS 和 Opera 的主題顏色 --> <meta name="theme-color" content="#4285f4"> <!-- 針對頁面的簡短描述(限制 150 字符)--> <!-- 此內容*可能*被用作搜索引擎結果的一部分。 --> <meta name="description" content="一個頁面描述"> <!-- 控制搜索引擎的抓取和索引行為 --> <meta name="robots" content="index,follow"><!-- 所有搜索引擎 --> <meta name="googlebot" content="index,follow"><!-- 僅對 Google 有效 --> <!-- 告訴 Google 不顯示網站鏈接的搜索框 --> <meta name="google" content="nositelinkssearchbox"> <!-- 告訴 Google 不提供此頁面的翻譯 --> <meta name="google" content="notranslate"> <!-- 驗證網址所有權 --> <meta name="google-site-verification" content="verification_token"><!-- Google Search Console --> <meta name="yandex-verification" content="verification_token"><!-- Yandex Webmasters --> <meta name="msvalidate.01" content="verification_token"><!-- Bing Webmaster Center --> <meta name="alexaVerifyID" content="verification_token"><!-- Alexa Console --> <meta name="p:domain_verify" content="code from pinterest"><!-- Pinterest Console --> <meta name="norton-safeweb-site-verification" content="norton code"><!-- Norton Safe Web --> <!-- 確定用于構建頁面的軟件(如 - WordPress、Dreamweaver)--> <meta name="generator" content="program"> <!-- 關于你的網站主題的簡短描述 --> <meta name="subject" content="你的網站主題"> <!-- 基于網站內容給出一般的年齡分級 --> <meta name="rating" content="General"> <!-- 允許控制 referrer 信息如何傳遞 --> <meta name="referrer" content="no-referrer"> <!-- 禁用自動檢測和格式化可能的電話號碼 --> <meta name="format-detection" content="telephone=no"> <!-- 通過設置為 "off" 完全退出 DNS 預取 --> <meta http-equiv="x-dns-prefetch-control" content="off"> <!-- 在客戶端存儲 cookie,web 瀏覽器的客戶端識別 --> <meta http-equiv="set-cookie" content="name=value; expires=date; path=url"> <!-- 指定要顯示在一個特定框架中的頁面 --> <meta http-equiv="Window-Target" content="_value"> <!-- 地理標簽 --> <meta name="ICBM" content="latitude, longitude"> <meta name="geo.position" content="latitude;longitude"> <meta name="geo.region" content="country[-state]"><!-- 國家代碼 (ISO 3166-1): 強制性, 州代碼 (ISO 3166-2): 可選; 如 content="US" / content="US-NY" --> <meta name="geo.placename" content="city/town"><!-- 如 content="New York City" --> ~~~ <br> * [Content-Security-Policy](http://www.ruanyifeng.com/blog/2016/09/csp.html) * ?? [Google 可以識別的 Meta 標簽 ](https://support.google.com/webmasters/answer/79812?hl=en) * ?? [ WHATWG Wiki: Meta 拓展 ](https://wiki.whatwg.org/wiki/MetaExtensions) * ?? [ ICBM - 維基百科 ](https://en.wikipedia.org/wiki/ICBM_address#Modern_use) * ?? [地理標記 - 維基百科](https://en.wikipedia.org/wiki/Geotagging#HTML_pages) <br> # link ~~~ <!-- 指向一個外部 CSS 樣式表 --> <link rel="stylesheet" href="https://example.com/styles.css"> <!-- 有助于防止出現內容重復的問題 --> <link rel="canonical" href="http://example.com/article/?page=2"> <!-- 鏈接到當前文檔的一個 AMP HTML 版本 --> <link rel="amphtml" href="https://example.com/path/to/amp-version.html"> <!-- 鏈接到一個指定 Web 應用程序“安裝”憑據的 JSON 文件 --> <link rel="manifest" href="manifest.json"> <!-- 鏈接到關于頁面所有者的信息 --> <link rel="author" href="humans.txt"> <!-- 指向一個適用于鏈接內容的版權申明 --> <link rel="license" href="copyright.html"> <!-- 給出可能的你的另一種語言的文檔位置參考 --> <link rel="alternate" href="https://es.example.com/" hreflang="es"> <!-- 提供了關于作者或其他人的信息 --> <link rel="me" href="https://google.com/profiles/thenextweb" type="text/html"> <link rel="me" href="mailto:name@example.com"> <link rel="me" href="sms:+15035550125"> <!-- 鏈接到一個描述歷史記錄、文檔或其他具有歷史意義的材料的集合的文檔 --> <link rel="archives" href="https://example.com/archives/"> <!-- 鏈接到層次結構中的頂級資源 --> <link rel="index" href="http://example.com/article/"> <!-- 提供了自我引用 - 當文檔有多個可能的引用時非常有用 --> <link rel="self" type="application/atom+xml" href="http://example.com/atom.xml"> <!-- 分別是一系列頁面中的第一個,最后一個,上一個和下一個頁面 --> <link rel="first" href="http://example.com/article/"> <link rel="last" href="http://example.com/article/?page=42"> <link rel="prev" href="http://example.com/article/?page=1"> <link rel="next" href="http://example.com/article/?page=3"> <!-- 當使用第三方服務來維護博客時使用 --> <link rel="EditURI" href="https://example.com/xmlrpc.php?rsd" type="application/rsd+xml" title="RSD"> <!-- 當另一個 WordPress 博客鏈接到你的 WordPress 博客或文章時形成一個自動化的評論 --> <link rel="pingback" href="https://example.com/xmlrpc.php"> <!-- 當你在自己的頁面上鏈接到一個 url 時通知它 --> <link rel="webmention" href="https://example.com/webmention"> <!-- 啟用通過 Micropub 客戶端發布你的域名 --> <link rel="micropub" href="https://example.com/micropub"> <!-- 打開搜索 --> <link rel="search" href="/open-search.xml" type="application/opensearchdescription+xml" title="Search Title"> <!-- Feeds --> <link rel="alternate" href="https://feeds.feedburner.com/example" type="application/rss+xml" title="RSS"> <link rel="alternate" href="https://example.com/feed.atom" type="application/atom+xml" title="Atom 0.3"> <!-- 預取,預載,預瀏覽 --> <!-- 更多信息:https://css-tricks.com/prefetching-preloading-prebrowsing/ --> <link rel="dns-prefetch" href="//example.com/"> <link rel="preconnect" href="https://www.example.com/"> <link rel="prefetch" href="https://www.example.com/"> <link rel="prerender" href="https://example.com/"> <link rel="preload" href="image.png" as="image"> ~~~ * ?? [鏈接關系](https://www.iana.org/assignments/link-relations/link-relations.xhtml) <br> # 網站圖標 ~~~ <!-- 針對 IE 10 及以下版本 --> <!-- 如果將 `favicon.ico` 放在根目錄下,則無需標簽 --> <!-- 我們目前需要提供的最大的網站圖標尺寸 --> <link rel="icon" sizes="192x192" href="/path/to/icon.png"> <!-- Apple 觸摸圖標 (尺寸同樣是 192x192) --> <link rel="apple-touch-icon" href="/path/to/apple-touch-icon.png"> <!-- Safari 固定選項卡圖標 --> <link rel="mask-icon" href="/path/to/icon.svg" color="blue"> ~~~ * ?? [所有關于網站圖標(和觸摸圖標)的信息 ](https://bitsofco.de/all-about-favicons-and-touch-icons/) * ?? [創建固定選項卡圖標 ](https://developer.apple.com/library/content/documentation/AppleApplications/Reference/SafariWebContent/pinnedTabs/pinnedTabs.html) * ?? [網站圖標對照表 ](https://github.com/audreyr/favicon-cheat-sheet) * ?? [網址圖標 & 瀏覽器顏色表](https://developers.google.com/web/fundamentals/design-and-ux/browser-customization/) <br> # 社交 ## Facebook Open Graph ~~~ <meta property="fb:app_id" content="123456789"> <meta property="og:url" content="http://example.com/page.html"> <meta property="og:type" content="website"> <meta property="og:title" content="Content Title"> <meta property="og:image" content="http://example.com/image.jpg"> <meta property="og:description" content="Description Here"> <meta property="og:site_name" content="Site Name"> <meta property="og:locale" content="en_US"> <meta property="article:author" content=""> ~~~ * ?? [Facebook 的 Open Graph 的標記 ](https://developers.facebook.com/docs/sharing/webmasters#markup) * ?? [Open Graph 協議](http://ogp.me/) * ?? [頁面驗證 - Facebook Sharing Debugger](https://developers.facebook.com/tools/debug/) <br> ## Twitter Card ~~~ <meta name="twitter:card" content="summary"> <meta name="twitter:site" content="@site_account"> <meta name="twitter:creator" content="@individual_account"> <meta name="twitter:url" content="http://example.com/page.html"> <meta name="twitter:title" content="Content Title"> <meta name="twitter:description" content="Content description less than 200 characters"> <meta name="twitter:image" content="http://example.com/image.jpg"> ~~~ * ?? [名片入門指南 - Twitter 開發者](https://dev.twitter.com/cards/getting-started) * ?? [頁面驗證 - Twitter Card Validator](https://cards-dev.twitter.com/validator) <br> ## Twitter Privacy 如如果你在自己的網站中嵌入了推文,Twitter 可以使用你網站上的信息為 Twitter 用戶定制內容和建議。[更多關于Twitter隱私選項](https://dev.twitter.com/web/overview/privacy#what-privacy-options-do-website-publishers-have)。 ~~~ <!-- 禁止 Twitter 使用你網站上的信息用于提供個性化的目的 --> <meta name="twitter:dnt" content="on"> ~~~ <br> ## Google+ / Schema.org ~~~ <html lang="" itemscope itemtype="http://schema.org/Article"> <head> <link rel="author" href=""> <link rel="publisher" href=""> <meta itemprop="name" content="內容標題"> <meta itemprop="description" content="內容描述少于 200 個字符"> <meta itemprop="image" content="http://example.com/image.jpg"> ~~~ 注意: 這個標記需要將屬性添加到你的頂級 html 標簽中 * ?? 請在 [結構化數據測試工具](https://developers.google.com/structured-data/testing-tool/) 上測試你的頁面 <br> ## Pinterest 根據他們的幫助中心可知,Pinterest 允許你禁止他人保存你網站里的內容。description 為可選。 ~~~ <meta name="pinterest" content="nopin" description="Sorry, you can't save from my website!"> ~~~ <br> ## Facebook Instant Articles ~~~ <meta charset="utf-8"> <meta property="op:markup_version" content="v1.0"> <!-- 你的文章的 Web 版網址 --> <link rel="canonical" href="https://example.com/article.html"> <!-- 用于該文章的樣式 --> <meta property="fb:article_style" content="myarticlestyle"> ~~~ * ?? [創建文章 ](https://developers.facebook.com/docs/instant-articles/guides/articlecreate) * ?? [代碼示例](https://developers.facebook.com/docs/instant-articles/reference) <br> ## OEmbed ~~~ <link rel="alternate" type="application/json+oembed" href="http://example.com/services/oembed?url=http%3A%2F%2Fexample.com%2Ffoo%2F&amp;format=json" title="oEmbed Profile: JSON"> <link rel="alternate" type="text/xml+oembed" href="http://example.com/services/oembed?url=http%3A%2F%2Fexample.com%2Ffoo%2F&amp;format=xml" title="oEmbed Profile: XML"> ~~~ * ?? [oEmbed 格式](http://oembed.com/) <br> # 瀏覽器/平臺 ## Apple iOS ~~~ <!-- 智能應用 Banner --> <meta name="apple-itunes-app" content="app-id=APP_ID,affiliate-data=AFFILIATE_ID,app-argument=SOME_TEXT"> <!-- 禁用自動檢測和格式化可能的電話號碼 --> <meta name="format-detection" content="telephone=no"> <!-- 添加到主屏幕 --> <!-- 啟動圖標 (大于等于 180x180px) --> <link rel="apple-touch-icon" href="/path/to/apple-touch-icon.png"> <!-- 啟動屏幕圖片 --> <link rel="apple-touch-startup-image" href="/path/to/launch.png"> <!-- 啟動圖標的標題 --> <meta name="apple-mobile-web-app-title" content="應用標題"> <!-- 啟用獨立(全屏)模式 --> <meta name="apple-mobile-web-app-capable" content="yes"> <!-- 狀態欄外觀(除非啟用獨立模式,否則無效) --> <meta name="apple-mobile-web-app-status-bar-style" content="black"> <!-- iOS 應用深層鏈接 --> <meta name="apple-itunes-app" content="app-id=APP-ID, app-argument=http/url-sample.com"> <link rel="alternate" href="ios-app://APP-ID/http/url-sample.com"> ~~~ * ?? [配置 Web 應用程序](https://developer.apple.com/library/content/documentation/AppleApplications/Reference/SafariWebContent/ConfiguringWebApplications/ConfiguringWebApplications.html) <br> ## Google Android ~~~ <meta name="theme-color" content="#E64545"> <!-- 添加到主屏幕 --> <meta name="mobile-web-app-capable" content="yes"> <!-- More info: https://developer.chrome.com/multidevice/android/installtohomescreen --> <!-- Android app deep linking --> <meta name="google-play-app" content="app-id=package-name"> <link rel="alternate" href="android-app://package-name/http/url-sample.com"> ~~~ <br> ## Google Chrome ~~~ <link rel="chrome-webstore-item" href="https://chrome.google.com/webstore/detail/APP_ID"> <!-- 禁用翻譯提示 --> <meta name="google" content="notranslate"> ~~~ <br> ## Microsoft Internet Explorer ~~~ <!-- 強制 IE 8/9/10 使用其最新的渲染引擎 --> <meta http-equiv="x-ua-compatible" content="ie=edge"> <!-- 通過 Skype Toolbar 瀏覽器擴展功能禁用自動檢測和格式化可能的電話號碼 --> <meta name="skype_toolbar" content="skype_toolbar_parser_compatible"> <!-- Windows 磁貼 --> <meta name="msapplication-config" content="/browserconfig.xml"> ~~~ browserconfig.xml所需的最低xml標記: ~~~ <?xml version="1.0" encoding="utf-8"?> <browserconfig> <msapplication> <tile> <square70x70logo src="small.png"/> <square150x150logo src="medium.png"/> <wide310x150logo src="wide.png"/> <square310x310logo src="large.png"/> </tile> </msapplication> </browserconfig> ~~~ * ?? [瀏覽器配置模式參考](https://msdn.microsoft.com/en-us/library/dn320426.aspx) <br> # 瀏覽器(中國) ## 360瀏覽器 ~~~ <!-- 選擇渲染引擎 --> <meta name="renderer" content="webkit|ie-comp|ie-stand"> ~~~ <br> ## QQ手機瀏覽器 ~~~ <!-- 在指定方向上鎖定屏幕(鎖定橫/豎屏) --> <meta name="x5-orientation" content="landscape/portrait"> <!-- 全屏顯示此頁面 --> <meta name="x5-fullscreen" content="true"> <!-- 頁面將以“應用模式”顯示(全屏等)--> <meta name="x5-page-mode" content="app"> ~~~ <br> ## UC Mobile Browser ~~~ <!-- 在指定方向上鎖定屏幕(鎖定橫/豎屏) --> <meta name="screen-orientation" content="landscape/portrait"> <!-- 全屏顯示此頁面 --> <meta name="full-screen" content="yes"> <!-- 即使在“文本模式”下,UC 瀏覽器也會顯示圖片 --> <meta name="imagemode" content="force"> <!-- 頁面將以“應用模式”顯示(全屏、禁止手勢等) --> <meta name="browsermode" content="application"> <!-- 在此頁面禁用 UC 瀏覽器的“夜間模式” --> <meta name="nightmode" content="disable"> <!-- 簡化頁面,減少數據傳輸 --> <meta name="layoutmode" content="fitscreen"> <!-- 禁用的 UC 瀏覽器的功能,“當此頁面中有較多文本時縮放字體” --> <meta name="wap-font-scale" content="no"> ~~~ * ?? [UC 瀏覽器文檔](http://www.uc.cn/download/UCBrowser_U3_API.doc) <br> # 應用鏈接 ~~~ <!-- iOS --> <meta property="al:ios:url" content="applinks://docs"> <meta property="al:ios:app_store_id" content="12345"> <meta property="al:ios:app_name" content="App Links"> <!-- Android --> <meta property="al:android:url" content="applinks://docs"> <meta property="al:android:app_name" content="App Links"> <meta property="al:android:package" content="org.applinks"> <!-- Web fall back --> <meta property="al:web:url" content="http://applinks.org/documentation"> ~~~ * ?? [應用鏈接文檔](http://applinks.org/documentation/) # 參考資料 * https://gethead.info/ * https://github.com/Amery2010/HEAD
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看