Microdata (HTML): Difference between revisions

Content deleted Content added
Microdata Global Attributes: the itemid isn't related to the vocabulary, just the item.
Microdata Global Attributes: no, the order of itemscope and itemtype does not matter (attribute order never does)
Line 7:
 
== Microdata Global Attributes ==
* <code>itemscope</code> – Creates the Item and indicates that descendants of this [[HTML element|element]] contain information about it.<ref name="WHATWG"/> This attribute precedes the <code>itemtype</code> attribute in the HTML element’s tag.
* <code>itemtype</code> – A valid URL of a vocabulary that describes the item and its properties context.
* <code>itemid</code> – Indicates a unique identifier of the item.