亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

directory search
Attributes accesskey (attribute) class (attribute) contenteditable (attribute) contextmenu (attribute) data-* (attribute) dir (attribute) draggable (attribute) dropzone (attribute) Global attributes hidden (attribute) id (attribute) itemid (attribute) itemprop (attribute) itemref (attribute) itemscope (attribute) itemtype (attribute) lang (attribute) slot (attribute) spellcheck (attribute) style (attribute) tabindex (attribute) title (attribute) translate (attribute) Elements a abbr address area article aside audio b base bdi bdo blockquote body br button canvas caption cite code col colgroup data datalist dd del details dfn dialog div dl dt em embed fieldset figcaption figure footer form h1 head header hr html i iframe img input input type="button" input type="checkbox" input type="color" input type="date" input type="datetime"-local input type="email" input type="file" input type="hidden" input type="image" input type="month" input type="number" input type="password" input type="radio" input type="range" input type="reset" input type="search" input type="submit" input type="tel" input type="text" input type="time" input type="url" input type="week" ins kbd label legend li link main map mark menu menuitem meta meter nav noscript object ol optgroup option output p param picture pre progress q rp rt rtc ruby s samp script section select slot small source span strong style sub summary sup table tbody td template textarea tfoot th thead time title tr track u ul var video wbr Miscellaneous Attributes Block-level elements CORS enabled image CORS settings attributes Element Inline elements Kinds of HTML content Link types Microdata Optimizing your pages for speculative parsing Preloading content Reference Supported media formats Using the application cache Obsolete acronym applet basefont big blink center command content dir element font frame frameset hgroup image input type="datetime" isindex keygen listing marquee nextid noframes plaintext strike tt xmp
characters

微數(shù)據(jù)是一種 WHATWG 的 HTML 規(guī)范, 用于在 web 頁(yè)上的現(xiàn)有內(nèi)容中嵌套元資料. 1 搜索引擎、網(wǎng)絡(luò)爬蟲(chóng)和瀏覽器可以從網(wǎng)頁(yè)中提取和處理微信息, 并使用它為用戶(hù)提供更豐富的瀏覽體驗(yàn)。搜索引擎可以從直接訪問(wèn)這些結(jié)構(gòu)化數(shù)據(jù)中獲益良多, 因?yàn)樗试S搜索引擎了解網(wǎng)頁(yè)上的信息, 并為用戶(hù)提供更相關(guān)的結(jié)果。微數(shù)據(jù)使用支持詞匯來(lái)描述項(xiàng)和名稱(chēng)-值對(duì), 以便為其屬性賦值。微微觀是一種用機(jī)器可讀的標(biāo)記來(lái)為 HTML 元素提供一種簡(jiǎn)單的方法, 而不是使用 RDFa 和微的類(lèi)似方法。

W3C HTML 工作組未能找到該規(guī)范的編輯器, 并在2013年以 "注釋" 終止其開(kāi)發(fā)。

在較高的層次上, 微微觀由一組名稱(chēng)-值對(duì)組成。這些組稱(chēng)為項(xiàng), 每個(gè)名稱(chēng)-值對(duì)都是一個(gè)屬性。項(xiàng)和屬性由常規(guī)元素表示。

  • 若要?jiǎng)?chuàng)建項(xiàng), 請(qǐng)使用 itemscope 屬性。

  • 若要向項(xiàng)添加屬性, itemprop 屬性將用于該項(xiàng)的子體之一。

詞匯

Google 和其他主要的搜索引擎支持結(jié)構(gòu)化數(shù)據(jù)的 Schema.org 詞匯。此詞匯表定義了一組標(biāo)準(zhǔn)的類(lèi)型名稱(chēng)和屬性名稱(chēng), 例如, Schema.org 音樂(lè)事件表示音樂(lè)會(huì)性能, 具有 "和位置屬性來(lái)指定音樂(lè)會(huì)的關(guān)鍵細(xì)節(jié)。在這種情況下, Schema.org 音樂(lè)事件將是類(lèi)型和 "使用的 URL 和位置將是 itemprop 的 Schema.org 音樂(lè)事件定義。

:有關(guān)類(lèi)型屬性的更多信息可以在http://schema.org/Thing中找到

微觀詞匯表提供項(xiàng)的語(yǔ)義或含義。web 開(kāi)發(fā)人員可以設(shè)計(jì)自定義詞匯表或使用 web 上可用的詞匯表, 如廣泛使用的 schema.org 詞匯。Schema.org 提供了常用標(biāo)記詞匯表的集合。

常用詞匯:

  • 創(chuàng)意作品:CreativeWork,書(shū),電影,音樂(lè)錄制,食譜,電視節(jié)目

  • 嵌入的非文本對(duì)象:AudioObject、ImageObject、VideoObject

  • 事件

  • 健康和醫(yī)療類(lèi)型:關(guān)于MedicalEntity下健康和醫(yī)療類(lèi)型的說(shuō)明

  • 組織

  • 地方,本地業(yè)務(wù),餐廳

  • 產(chǎn)品,提供,合計(jì)報(bào)價(jià)

  • 評(píng)論,聚合評(píng)分

  • 行動(dòng)

  • 事物

  • 無(wú)形

主要的搜索引擎運(yùn)營(yíng)商, 如谷歌, 微軟和雅虎, 依靠 schema.org 詞匯來(lái)提高搜索結(jié)果。出于某些目的, 特定的詞匯量是足夠的。對(duì)于其他人來(lái)說(shuō), 需要設(shè)計(jì)一個(gè)詞匯表。在可能的情況下, 鼓勵(lì)作者重新使用現(xiàn)有的詞匯表, 因?yàn)檫@使得內(nèi)容重新使用變得更容易。

本地化

在某些情況下, 覆蓋特定區(qū)域的搜索引擎可能會(huì)提供本地特定的微信息擴(kuò)展。例如,Yandex,一個(gè)主要的搜索引擎在俄羅斯,支持微,如hCard(公司聯(lián)系信息),hRecipe(食品配方),hReview(市場(chǎng)審查)和hProduct(產(chǎn)品數(shù)據(jù)),并提供自己的格式定義的條款和百科全書(shū)的文章。這個(gè)擴(kuò)展是為了解決西里爾字母和拉丁字母之間的音譯問(wèn)題。由于實(shí)施了圖式詞匯的附加標(biāo)記參數(shù), 俄語(yǔ)網(wǎng)頁(yè)中信息的指數(shù)化變得更加成功。

全局屬性

itemid  - 項(xiàng)目的唯一全局標(biāo)識(shí)符。

itemprop  - 用于向項(xiàng)目添加屬性。每個(gè)HTML元素可以有一個(gè)指定的itemprop屬性,itemprop由一個(gè)名稱(chēng)和值對(duì)組成。

itemref  - 具有屬性的元素的后代不itemscope屬性的屬性可以使用itemref與項(xiàng)目相關(guān)聯(lián)。Itemref提供了itemid文檔中其他屬性的附加屬性的元素ID列表(不是itemid)。

itemscope – itemscope (通常) 與類(lèi)型一起工作, 以指定塊中包含的 HTML 與特定項(xiàng)有關(guān)。itemscope 創(chuàng)建該項(xiàng)并定義與之關(guān)聯(lián)的類(lèi)型的范圍。類(lèi)型是描述該項(xiàng)及其屬性上下文的詞匯 (如 schema.org) 的有效 URL。

itemtype – 指定將用于定義數(shù)據(jù)結(jié)構(gòu)中的 itemprop (項(xiàng)屬性) 的詞匯的 URL。Itemscope 用于設(shè)置數(shù)據(jù)結(jié)構(gòu)中類(lèi)型所設(shè)置的詞匯表的活動(dòng)范圍。

示例

HTML

<div itemscope itemtype="http://schema.org/SoftwareApplication">  <span itemprop="name">Angry Birds</span> -

  REQUIRES <span itemprop="operatingSystem">ANDROID</span><br>  <link itemprop="applicationCategory" href="http://schema.org/GameApplication"/>  <div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
    RATING:    <span itemprop="ratingValue">4.6</span> (    <span itemprop="ratingCount">8864</span> ratings )  </div>  <div itemprop="offers" itemscope itemtype="http://schema.org/Offer">
    Price: $<span itemprop="price">1.00</span>    <meta itemprop="priceCurrency" content="USD" />  </div></div>

結(jié)構(gòu)化數(shù)據(jù)

itemscope

itemtype

SoftwareApplication (http://schema.org/SoftwareApplication)

itemprop

name

Angry Birds

itemprop

operatingSystem

ANDROID

itemprop

applicationCategory

GameApplication (http://schema.org/GameApplication)

itemscope

itempropitemtype

aggregateRating AggregateRating

itemprop

ratingValue

4.6

itemprop

ratingCount

8864

itemscope

itempropitemtype

offers Offer

itemprop

price

1.00

itemprop

priceCurrency

USD

結(jié)果

:從HTML中提取微數(shù)據(jù)結(jié)構(gòu)的方便工具是Google的結(jié)構(gòu)化數(shù)據(jù)測(cè)試工具。試試在上面顯示的HTML。

瀏覽器兼容性

Feature

Chrome

Edge

Firefox (Gecko)

Internet Explorer

Opera

Safari

Basic support

No support

?

16 (16) Removed in 49 (49)

No support

No support

No support

Feature

Android

Chrome for Android

Edge

Firefox Mobile (Gecko)

IE Mobile

Opera Mobile

Safari Mobile

Basic support

?

?

?

?

?

?

?

Previous article: Next article: