<strong id="bdmpm"></strong>
<pre id="bdmpm"></pre>
    <var id="bdmpm"></var><button id="bdmpm"></button>

      国产精品午夜爆乳美女视频,久久国产精品福利一区二区三区,99re热这里只有精品视频,国产午夜精品一区二区三区不卡,少妇高潮毛片免费看,一本无码av中文出轨人妻,中文字幕乱码无码人妻系列蜜桃 ,精品一区二区三区无码视频
      當前位置:首頁>-元數據信息-html5文檔元數據

      -元數據信息-html5文檔元數據

      • 更新時間 2025-07-22 06:51:04

      HTML元素表示那些不能由其它HTML元相關元素(,,,或)之一表示的任何元數據信息.

      瀏覽器支持

      所有主流瀏覽器都支持標簽。

      示例

      屬性

      此元素包括全局屬性。

      注意:全局屬性name在元素中具有特殊的語義;另外,在同一個 font-size: 18px;">開發者必須禁用 CESU-8,UTF-7,BOCU-1或SCSU這些字符集,因為這些字符集已經被證實存在跨站腳本攻擊(XSS)的風險。

    1. 開發者應盡量避免使用UTF-32字符集對網頁進行編碼,因為不是所有的HTML5編碼算法能夠將其與UTF-16編碼區分開來。
    2. 注意:
      • 聲明的字符編碼必須與頁面保存所使用的編碼相匹配,以避免亂碼和安全漏洞.
      • 元素必須包含在元素中并且在HTML代碼的前1024個字節內,因為某些瀏覽器在選擇編碼之前只查看前面這些字節。
      • 元素只是algorithm to determine the character set 中的一部分。 HTTP的Content-Type頭部以及任何Byte-Order Marks元素都優先于此元素。
      • 強烈建議使用該屬性定義字符編碼。如果未定義,某些跨腳本技術可能危害網頁,如 UTF-7 fallback cross-scripting technique.保持設置該屬性以避免類似風險。
      • 元素的charset屬性和以下HTML5內容等效,其中IANAcharset包含了charset一樣的值。后者的語法仍然是允許的,但是不再推薦。
      • content此屬性包含http-equiv或name屬性的值,具體取決于所使用的值。
      • http-equiv這個枚舉屬性定義了能改變服務器和用戶引擎行為的編譯。這個編譯值使用content來定義,如下:
        • content-languageTHML5中廢棄
        • 這個指令定義頁面使用的默認語言.使用方式:不要使用這個指令,因為它已經過時了。使用元素上全局的lang屬性來替代它.
        • "content-security-policy"內容安全策略
        • 它允許頁面作者定義當前頁的內容策略。內容策略主要指定允許的服務器源和腳本端點,這有助于防止跨站點腳本攻擊。
        • "content-type"THML5中廢棄
        • 這個屬性定義了文檔的 MIME type ,實際上由它的字符編碼決定。它遵循與HTTPcontent-type頭部字段相同的語法,但由于它位于HTML頁面內,因此除了text / html之外的大多數值都不能使用。因此,其content的有效語法是字符串'text / html',后跟一個具有以下語法的字符集:';charset=IANAcharset,其中IANAcharset是IANA定義的字符集的首選MIME名稱。Usage note:
          • 不要使用該指令因為它已過時。.使用元素的charset屬性代替。
          • As themay not be used to change the type of a document in an XHTML document, or in an HTML5 document following the XHTML syntax, never set MIME type to an XHTML MIME type that way. It would be incorrect.
          • Only an HTML document can use the content-type, so most of it is redundant: that's why it has been obsoleted and replaced by thecharsetattribute.
        • default-style
        • 這個屬性指定了在頁面上使用的首選樣式表.content屬性必須包含元素的標題,href屬性鏈接到CSS樣式表或包含CSS樣式表的元素的標題.
        • refresh
        • 這個屬性指定:
          • 如果content只包含一個正整數,則是重新載入頁面的時間間隔(秒);
          • 如果content包含一個正整數并且跟著一個字符串,則是重定向到指定鏈接的時間間隔(秒)
        • set-cookieTHML5中廢棄
        • 為頁面定義cookie。其內容必須遵循 IETF HTTP Cookie 規范中定義的語法。Note:警告:請勿使用此說明,因為它已過時。請改用HTTP的Set-Cookie頭部。
      • name該屬性定義文檔級元數據的名稱。如果以下其中一個屬性設置了itemprop,http-equivorcharset,就不能在設置這個屬性了。
      • 此元數據名稱與content屬性包含的值相關聯。name屬性的可能值為:
        • application-name,定義正運行在該網頁上的網絡應用名稱;Note:
          • 瀏覽器可能會通過使用該屬性去區分應用。它與元素不同,后者通常由應用程序名稱組成,但也可能包含特定信息,如文檔名稱或狀態;
          • 簡單的網頁不應該去定義application-name meta標簽。
        • author,就是這個文檔的作者名稱,可以用自由的格式去定義;
        • description,其中包含頁面內容的簡短和精確的描述。一些瀏覽器,如Firefox和Opera,將其用作書簽頁面的默認描述。
        • generator,包含生成頁面的軟件的標識符。
        • keywords,包含與逗號分隔的頁面內容相關的單詞。
        • referrer控制所有從該文檔發出的 HTTP 請求中HTTP Referer首部的內容: content 屬性可取的值:
          no-referrer不要發送HTTPReferer首部。
          origin發送當前文檔的 origin。
          no-referrer-when-downgrade當目的地是先驗安全的(https->https)則發送 origin 作為 referrer ,但是當目的地是較不安全的(https->http)時則不發送 referrer 。這個是默認的行為。
          origin-when-crossorigin在同源請求下,發送完整的URL(不含查詢參數),其他情況下則僅發送當前文檔的 origin。
          unsafe-URL在同源請求下,發送完整的URL(不含查詢參數)。
          注意:動態地插入(通過 document.write 或者 appendChild)是不起作用的。同樣注意如果同時有多個彼此沖突的策略被定義,那么 no-referrer 策略會生效。

        The attribute may also have a value taken from the extended list defined onWHATWG Wiki MetaExtensions page. Although none has been formally accepted yet, a few commonly used names are among the proposals:

        -元數據信息-html5文檔元數據

        • creator, defining, in a free format, the name of the creator of the document. Note that it can be the name of the institution. If there are more than one,severalelements should be used;
        • googlebot, which is a synonym ofrobots, but is only followed by Googlebot, the indexing crawler for Google;
        • publisher, defining, in a free format, the name of the publisher of the document. Note that it can be the name of the institution;
        • robots, defining the behavior that cooperative crawlers should have with the page. It is a comma-separated list of values taken in the following list:Values for the content of ValueDescriptionUsed by
          indexAllows the robot to index the pageAll
          noindexPrevents the robot from indexing the pageAll
          followAllows the robot to follow the links on the pageAll
          nofollowPrevents the robot from following the links on the pageAll
          noodpPrevents the usage of theOpen Directory Projectdescription, if any, as the description of the page in the search engine results page

          Google,Yahoo,Bing

          noarchivePrevents the search engine from caching the content of the pageGoogle,Yahoo
          nosnippetPrevents the display of any description of the page in the search engine results pageGoogle
          noimageindexPrevents this page from appearing as the referring page of an indexed imageGoogle
          noydirPrevents the usage of the Yahoo Directory description, if any, as the description of the page in the search engine results pageYahoo
          nocacheSynonym ofnoarchiveBing
          Notes:
          • Only cooperative robots will follow the rules defined by the robots name. Do not expect to keep e-mail harvesters at bay with this.
          • The robot still needs to access the page in order to read the meta value. If you want to keep them at bay, for example to prevent bandwidth consumption, use arobots.txtfile instead(or in complement).
          • If you want to remove the page of an index, changing the meta tonoindexwill work, but only when the robot visit the page again. Be sure not to prevent such visits, via therobots.txtfile for example. Some search engines have developers tools, allowing a quick removal of some page.
          • Some possible values are mutually exclusive, like usingindexandnoindex,orfollowandnofollow, at the same time. In these cases the behavior of the robot is undefined, and may vary from one to the other. So avoid these cases.
          • Some search engine crawler robots, like those of Google, Yahoo Search or Bing, support the same values on an HTTP directive,X-Robot-Tags: this allows them to use these pragma on non-HTML documents, like images.
        • slurp,與robots一樣,但其僅使用于 Slurp -- Yahoo Search的抓取工具。
        • viewport,它提供有關視口初始大小的提示,僅供移動設備使用。
          • 值的內容為:Value可能值描述
            width一個正整數或者字符串device-width以pixels(像素)為單位,定義viewport(視口)的寬度。
            height一個正整數或者字符串device-height以pixels(像素)為單位,定義viewport(視口)的高度。
            initial-scale一個0.0到10.0之間的正數定義設備寬度(縱向模式下的設備寬度或橫向模式下的設備高度)與視口大小之間的縮放比率。
            maximum-scale一個0.0到10.0之間的正數定義縮放的最大值;它必須大于或等于minimum-scale的值,不然會導致不確定的行為發生。
            minimum-scale一個0.0到10.0之間的正數定義縮放的最小值;它必須小于或等于maximum-scale的值,不然會導致不確定的行為發生。
            user-scalable一個布爾值(yes或者no)如果設置為 no,用戶將不能放大或縮小網頁。默認值為 yes。
            規范StatusComment
            CSS Device AdaptationWorking Draft非規范地描述了Viewport META元素
            See also:@viewportNotes:
            • 雖然標準化程度不高,但由于事實上的支配地位,大多數移動瀏覽器都尊重這一聲明。
            • 不同設備和瀏覽器之間的默認值可能不同。
            • 要在Firefox for Mobile中了解此聲明,請參閱this article.
      • schemeTHML5中廢棄This attribute defines the scheme in which the metadata is described. A scheme is a context leading to the correct interpretations of thecontentvalue, like a format.Notes:Do not use this attribute as it is obsolete. There is no replacement for it as there was no real usage for it. Omit it altogether.

      Notes

      Depending on the attributes set, the kind of metadata can be one of the following:

      • Ifnameis set, it is document-levelmetadata, applying to the whole page.
      • Ifhttp-equivis set, it is a pragma directive— information normally given by the web server about how the web page is served.
      • Ifcharsetis set, it is a charset declaration— the character encoding used by the webpage.
      • Ifitempropis set, it is user-defined metadata— transparent for the user-agent as the semantics of the metadata is user-specific.

      標簽定義及使用說明

      元數據(Metadata)是數據的數據信息。

      標簽提供了 HTML 文檔的元數據。元數據不會顯示在客戶端,當時會被瀏覽器解析。

      META元素通常用于指定網頁的描述,關鍵詞,的文件的最后修改,作者,和其他元數據。

      元數據可以被使用瀏覽器(如何顯示內容或重新加載頁面),搜索引擎(關鍵詞),或其他 Web 服務調用。

      提示和注釋

      注意:標簽通常位于區域內。

      注意:元數據通常以名稱/值對出現。

      注意:如果沒有提供 name 屬性,那么名稱/值對中的名稱會采用 http-equiv 屬性的值。

      HTML 4.01 與 HTML5之間的差異

      HTML5 不支持 scheme 屬性。

      在 HTML5 中,有一個新的 charset 屬性,它使字符集的定義更加容易:

      • HTML 4.01:
      • HTML5:

      HTML 與 XHTML 之間的差異

      在 HTML 中標簽沒有結束標簽。

      在 XHTML 中標簽必須包含結束標簽。

      例子

      定義針對搜索引擎的關鍵詞:

      定義對頁面的描述:

      定義頁面的最新版本:

      定義頁面作者:

      每 5 秒刷新一次頁面:

      實例

      描述 HTML 文檔的元數據:

      主站蜘蛛池模板: 色综合 图片区 小说区| 国产精品XXXX国产喷水| 亚洲国产大胸一区二区三区| 日日碰狠狠添天天爽超碰97| 国产精品亚洲综合久久小说| 国产又大又黑又粗免费视频 | 在线播放深夜精品三级| 欧美videosdesexo吹潮| 国产真实伦在线观看视频| 无码人妻少妇色欲av一区二区| 国产人妻人伦精品婷婷| 91孕妇精品一区二区三区| 无码伊人久久大杳蕉中文无码| 亚洲中文字幕综合小综合| 一区二区福利在线视频| 在线 欧美 中文 亚洲 精品| 欧洲一区二区中文字幕| 最近免费中文字幕大全| 亚洲精品国产av成拍色拍个| 日本边添边摸边做边爱的网站| 亚洲精国产一区二区三区| 高清自拍亚洲精品二区| 久久综合狠狠综合久久| 四虎国产精品久久免费地址| 内射极品少妇xxxxxhd| 中文字幕日韩区二区三区| 黄又色又污又爽又高潮| bt天堂新版中文在线| 产综合无码一区| 黑人巨大av无码专区| 蜜桃视频一区二区三区四| 亚洲国产精品成人精品无码区在线| 午夜福利精品一区二区三区| 国产亚洲国产精品二区| 国产精品一区在线蜜臀| 国内自拍视频一区二区三区| 人妻无码中文字幕| 一区二区三区午夜无码视频| 汪清县| 开心一区二区三区激情| 人妻在线无码一区二区三区|