Loading...

HTML Multiple Choice Questions

Our HTML questions and answers focuses on all areas of HTML Language language covering 100+ topics in HTML

HTML Attributes MCQs

HTML Attributes-2


1. Which of the following is not an attribute of <form> tag?

a) action
b) method
c) name
d) url



2. Which is not a property of attribute behaviour of <marquee> tag?

a) scroll
b) blur
c) Alternate
d) slide



3. Hyperlinks are defined with <a> tag and address is specified by

a) href attribute
b) hlink attribute
c) src attribute
d) None of the above



4. Which attribute sets the text direction as related to the lang attribute.

a) lang
b) sub
c) dir
d) None of the above



5. Which attribute is used to set a global identifier for a microdata item?

a) key
b) itemid
c) itemclass
d) None of the above



6. Which attribute

a) dataFormatAs
b) datafld
c) datasrc
d) None of the above



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

a) True
b) False



8. How title attribute works?

a) Displays text when hovering over the element
b) Focus text when hovering over the element
c) Highlight text when hovering over the element
d) Zoom in and zoom out text when hovering over the element



9. spellcheck attribute is used for

a) Checks spelling
b) Indicates if spell checking is allowed
c) Checks spelling and corrects it
d) Checks spelling of a given particular text only



10. checked attribute is used for

a) Whether on page load element should be checked
b) Whether on page load all form element should be checked
c) Whether on page load all list element should be checked
d) Whether on page load all multimedia elements should be checked



- Related Topics