Commerce

Basic Html MCQs

Practice Basic Html MCQs for competitive exams.

Basic Html MCQs

Practice questions from this topic.

Which of the following is the attribute that is used to add a name/value pair to a microdata item?

  1. A. itemscope
  2. B. itemref
  3. C. itemprop
  4. D. itemid
Report Error

Which of the following is the attribute that is used to set a global identifier for a microdata item?

  1. A. key
  2. B. id
  3. C. itemclass
  4. D. itemid
Report Error

The accesskey attribute specifies a keyboard navigation accelerator for the element.

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

Which of the following is the attribute that specifies additional horizontal space, in pixels, to be reserved on either side of an embedded item like an iframe, applet, image, and so on?

  1. A. height
  2. B. hspace
  3. C. hidefocus
  4. D. datasrc
Report Error

Which of the following is the attribute that indicates the name of the data source object that supplies the data that is bound to this element?

  1. A. dataFormatAs
  2. B. datafld
  3. C. disabled
  4. D. datasrc
Report Error

Which of the following is the attribute that specifies the column name from the data source object that supplies the bound data?

  1. A. dataFormatAs
  2. B. datafld
  3. C. disabled
  4. D. datasrc
Report Error

The __________ attribute sets the text direction as related to the lang attribute.

  1. A. lang
  2. B. sub
  3. C. dir
  4. D. ds
Report Error

Which attribute is used to provide an advisory text about an element or its contents.

  1. A. tooltip
  2. B. dir
  3. C. title
  4. D. none of the mentioned
Report Error

The _____________ attribute specifies an inline style associated with an element, which determines the rendering of the affected element.

  1. A. dir_class
  2. B. dir
  3. C. class
  4. D. none of the mentioned
Report Error

Which attribute specifies a unique alphanumeric identifier to be associated with an element?

  1. A. class
  2. B. id
  3. C. article
  4. D. html
Report Error

XML is a markup language where documents must be marked up correctly.

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

__________ is an extended version of the XHTML markup language for supporting RDF through a collection of attributes and processing rules in the form of well-formed XML documents.

  1. A. XHTML+RDF
  2. B. XHTML+XHTML5
  3. C. XHTML1.0+XHTML2.0
  4. D. none of the mentioned
Report Error