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 ?
A. The value is the value of the element’s value attribute, if it has one, or the empty string otherwise.
B. The value is the item created by the element.
C. The value is the element’s datetime value.
D. None of the mentioned
Answer: Option A
Solution(By Examveda Team)
If the element is a data element, the value is the value of the element’s value attribute, if it has one, or the empty string otherwise.Choose the correct statement of HTML
A. In traditional XHTML close tag for some elements is optional but not encouraged
B. In traditional HTML close tag for some elements is optional but not encouraged
C. None of the mentioned
D. In both traditional XHTML and HTML close tag for some elements is optional
Which of the following is not a difference between HTML and XHTML
A. Charset in html is “text/html” where as in xhtml it is “application/xml+xhtml”
B. None of the mentioned
C. Tags and attributes are case-insensitive in HTML but not in XHTML
D. Special characters must be escaped using character entities in XHTML unlike HTML
What indicates the content in file is HTML when delivered on the network.
A. The extension of the file “.html”
B. The “content-type” header
C. Both “.html” extension and “content-type” header
D. None of the mentioned
Join The Discussion