Commerce

Basic Html MCQs

Practice Basic Html MCQs for competitive exams.

Basic Html MCQs

Practice questions from this topic.

y default, iOS adds ____________ effects to icons.

  1. A. reflective shine
  2. B. square corners and reflective shine
  3. C. rounded corners and reflective shine
  4. D. apple trademark
Report Error

Which of the following applications/software can be used to create a favicon?

  1. A. Unity
  2. B. Adobe Photoshop
  3. C. Dreamweaver
  4. D. VLC
Report Error

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.

  1. A. True
  2. B. False
Report Error

Which method takes a string that contains an unordered set of unique space-separated tokens that are case-sensitive, representing types?

  1. A. document.getItems
  2. B. element.itemProp
  3. C. collection.namedItem
  4. D. none of the mentioned
Report Error

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 ?

  1. A. The value is the value of the element’s value attribute, if it has one, or the empty string otherwise.
  2. B. The value is the item created by the element.
  3. C. The value is the element’s datetime value.
  4. D. None of the mentioned
Report Error

If the element has an itemscope attribute, it returns an __________ object with all the element’s properties.

  1. A. itemscope
  2. B. dom object
  3. C. collection.namedItem
  4. D. none of the mentioned
Report Error

The ___________ of an item is the value of its element’s itemid attribute.

  1. A. token
  2. B. typed item
  3. C. global identifier
  4. D. none of the mentioned
Report Error

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 ?

  1. A. The value is the element’s datetime value.
  2. B. The value is the value of the element’s content attribute, if any, or the empty string if there is no such attribute.
  3. C. The value is the value of the element’s value attribute, if it has one, or the empty string otherwise.
  4. D. The value is the element’s textContent.
Report Error

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 ?

  1. A. The value is the item created by the element.
  2. B. The value is the value of the element’s value attribute, if it has one, or the empty string otherwise
  3. C. On getting, if the element has a datetime content attribute, the IDL attribute must return that content attribute’s value
  4. D. The value is the element’s textContent.
Report Error

Every HTML element may have an ____________ attribute specified.

  1. A. itemtype
  2. B. relevant types
  3. C. itemscope
  4. D. none of the mentioned
Report Error

The microdata model consists of groups of name-value pairs known as

  1. A. Item
  2. B. Property
  3. C. Value
  4. D. URL
Report Error

__________ is an HTML specification used to add more information to HTML tags.

  1. A. Macrodata
  2. B. Microdata
  3. C. Minidata
  4. D. Modifydata
Report Error