1.

Which of the following is the attribute that is used to set a global identifier for a microdata item?(a) key(b) id(c) itemclass(d) itemidThis question was posed to me during an online exam.This interesting question is from HTML and XHTML Element Reference topic in section HTML and XHTML Fundamentals of HTML

Answer» RIGHT option is (d) itemid

To explain I would say: 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.


Discussion

No Comment Found

Related InterviewSolutions