Microdata (HTML): Difference between revisions

Content deleted Content added
Microdata Global Attributes: no, the order of itemscope and itemtype does not matter (attribute order never does)
Line 11:
* <code>itemid</code> – Indicates a unique identifier of the item.
* <code>itemprop</code> – Indicates that its containing tag holds the value of the specified item property. The properties name and value context are described by the items vocabulary. Properties values usually consist of string values, but can also use [[URL]]s using the a element and its <code>href</code> attribute, the <code>img</code> element and its <code>src</code> attribute, or other elements that link to or embed external resources.<ref name=WHATWG/>
* <code>itemref</code> – Properties that are not descendants of the element with the <code>itemscope</code> attribute can be associated with the item using this attribute. Provides a list of elementsid's toof webelements crawlers to findwith additional property values of the itemproperties elsewhere in the document.<ref name="WHATWG"/>
 
== Example ==