亚洲国产日韩欧美一区二区三区,精品亚洲国产成人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

全局屬性itemref屬性(不是具有該itemscope屬性的元素的后代)可以使用一個與該項目相關(guān)聯(lián)itemref。itemref提供元素標(biāo)識符(不是itemid)的列表,以及文檔中其他位置的其他屬性。

itemref屬性只能在具有指定itemscope屬性的元素上指定。

注意:itemref屬性不是微數(shù)據(jù)數(shù)據(jù)模型的一部分。它僅僅是一種語法結(jié)構(gòu),可以幫助作者向注釋數(shù)據(jù)不遵循方便的樹結(jié)構(gòu)的頁面添加注釋。例如,它允許作者標(biāo)記表中的數(shù)據(jù),以便每個列都定義一個單獨的項目,同時保留單元格中的屬性。

示例

HTML

<div itemscope id="amanda" itemref="a b"></div><p id="a">Name: <span itemprop="name">Amanda</span> </p><div id="b" itemprop="band" itemscope itemref="c"></div><div id="c">    <p>Band: <span itemprop="name">Jazz Band</span> </p>    <p>Size: <span itemprop="size">12</span> players</p></div>

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

id's

itemscope

itemref


(itemprop name)

(itemprop value)

id=amanda

itemscope

itemref=a,b




id=a



itemprop

name

Amanda

id=b

itemscope

itemref=c


band


id=c



itemprop

Band

Jazz Band



itemprop

Size

12


結(jié)果

規(guī)范

規(guī)范

狀態(tài)

評論

itemref


WG注意事項 - 不再積極發(fā)展

瀏覽器兼容性

Feature

Chrome

Firefox (Gecko)

Internet Explorer

Opera

Safari

Basic support

(Yes)

(Yes)

(Yes)

(Yes)

(Yes)

Feature

Android

Chrome for Android

Firefox Mobile (Gecko)

IE Mobile

Opera Mobile

Safari Mobile

Basic support

(Yes)

(Yes)

(Yes)

(Yes)

(Yes)

(Yes)

Previous article: Next article: