CommerceBasic Html MCQs
Practice Basic Html MCQs for competitive exams.
Basic Html MCQs
Practice questions from this topic.
y default, iOS adds ____________ effects to icons.
- A. reflective shine
- B. square corners and reflective shine
- C. rounded corners and reflective shine
- D. apple trademark
Correct Answer: C
Which of the following applications/software can be used to create a favicon?
- A. Unity
- B. Adobe Photoshop
- C. Dreamweaver
- D. VLC
Correct Answer: B
The goal of microdata is to create a unified way to define the data in a way any web crawler or reader implementation can read it.
- A. True
- B. False
Correct Answer: A
Which method takes a string that contains an unordered set of unique space-separated tokens that are case-sensitive, representing types?
- A. document.getItems
- B. element.itemProp
- C. collection.namedItem
- D. none of the mentioned
Correct Answer: A
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
Correct Answer: A
If the element has an itemscope attribute, it returns an __________ object with all the element’s properties.
- A. itemscope
- B. dom object
- C. collection.namedItem
- D. none of the mentioned
Correct Answer: B
The ___________ of an item is the value of its element’s itemid attribute.
- A. token
- B. typed item
- C. global identifier
- D. none of the mentioned
Correct Answer: C
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.
Correct Answer: A
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 meta element ?
- A. The value is the item created by the element.
- B. The value is the value of the element’s value attribute, if it has one, or the empty string otherwise
- C. On getting, if the element has a datetime content attribute, the IDL attribute must return that content attribute’s value
- D. The value is the element’s textContent.
Correct Answer: B
Every HTML element may have an ____________ attribute specified.
- A. itemtype
- B. relevant types
- C. itemscope
- D. none of the mentioned
Correct Answer: C
The microdata model consists of groups of name-value pairs known as
- A. Item
- B. Property
- C. Value
- D. URL
Correct Answer: A
__________ is an HTML specification used to add more information to HTML tags.
- A. Macrodata
- B. Microdata
- C. Minidata
- D. Modifydata
Correct Answer: B