-
Which of the following is the attribute that is used to set a global identifier for a microdata item?
-
- itemid
- itemclass
- id
- key
- None of these
Correct Option: A
The unique id for an element in html is specified by id attribute. Itemmid allows a vocabulary to define a global identifier for a microdata item, for example an ISBN number on a book. Use itemid on the same element as the item’s itemscope and itemtype attributes.