-
Which of the following is true if the property value of a name-value pair added by an element with an itemprop attribute is a data element?
-
- The value is item’s scope
- The value is the element’s datetime value
- The value is the value of the element’s value attribute if it has one, or the empty string otherwise
- The value is the item created by the element
- None of these
Correct Option: C
The “itemprop” attribute is a global attribute which adds properties to item. When the property value of a name-value pair added by an element with an itemprop attribute which is a data element then the value is the value of the element’s value attribute if it has one, or the empty string otherwise.