CommerceBasic 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?
- A. itemscope
- B. itemref
- C. itemprop
- D. itemid
Correct Answer: C
Which of the following is the attribute that is used to set a global identifier for a microdata item?
- A. key
- B. id
- C. itemclass
- D. itemid
Correct Answer: D
The accesskey attribute specifies a keyboard navigation accelerator for the element.
- A. True
- B. False
Correct Answer: A
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?
- A. height
- B. hspace
- C. hidefocus
- D. datasrc
Correct Answer: B
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?
- A. dataFormatAs
- B. datafld
- C. disabled
- D. datasrc
Correct Answer: D
Which of the following is the attribute that specifies the column name from the data source object that supplies the bound data?
- A. dataFormatAs
- B. datafld
- C. disabled
- D. datasrc
Correct Answer: B
The __________ attribute sets the text direction as related to the lang attribute.
- A. lang
- B. sub
- C. dir
- D. ds
Correct Answer: C
Which attribute is used to provide an advisory text about an element or its contents.
- A. tooltip
- B. dir
- C. title
- D. none of the mentioned
Correct Answer: C
The _____________ attribute specifies an inline style associated with an element, which determines the rendering of the affected element.
- A. dir_class
- B. dir
- C. class
- D. none of the mentioned
Correct Answer: B
Which attribute specifies a unique alphanumeric identifier to be associated with an element?
- A. class
- B. id
- C. article
- D. html
Correct Answer: B
XML is a markup language where documents must be marked up correctly.
- A. True
- B. False
Correct Answer: A
__________ 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.
- A. XHTML+RDF
- B. XHTML+XHTML5
- C. XHTML1.0+XHTML2.0
- D. none of the mentioned
Correct Answer: A