Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

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 time element?

a) The value is the element’s datetime value
b) The value is the value of the element’s content attribute, if any, or the empty string if there is no such attribute
c) The value is the value of the element’s value attribute, if it has one, or the empty string otherwise
d) The value is the element’s textContent

Answer: a
Explanation: 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 time element then the value is the element’s datetime value.

Join The Discussion