1. The CSS equivalent of HTML4 element <big>, which was removed from HTML5 is …
A) font-size:large
B) font-size:larger
C) font-size:big
D) font-size:bigger
2. Which of the following is/are the HTML4 elements removed from HTML5.
i) <basefont> ii) <tt> iii) <hr> iv) <u>
A) i, ii and iii only
B) ii, iii and iv only
C) i, ii and iv only
D) All i, ii, iii and iv
3. We can use the CSS code “font-family:monospace” in the place of …………………….. element used in HTML4.
A) <basefont>
B) <tt>
C) <dt>
D) <u>
4. …………………… is/are the CSS equivalent(s) used in HTML5 in the replace of HTML4 element <font>.
i) font-family ii) font-size iii) font
A) i and ii only
B) ii and iii only
C) i and iii only
D) All i, ii and iii
5. The HTML4 element, ………………. was redefined in HTML5.
A) <small>
B) <u>
C) <s>
D) <strike>
6. The HTML4 element, ………………………. was removed from HTML5.
A) <small>
B) <menu>
C) <strong>
D) <s>
7. The ……………………. element is used with HTML5’s new details and figure elements to define the contained text.
A) <dd>
B) <b>
C) <dt>
D) <dr>
8. The ……………………. element is used with HTML’s new details and figure element to summarize the details.
A) <dd>
B) <b>
C) <dt>
D) <dr>
9. Which of the following is/are the HTML4 elements redefined in HTML5.
i) <basefont> ii) <hr> iii) <i> iv) <u>
A) i and ii only
B) ii and iii only
C) iii and iv only
D) i, ii and iii only
10. Which of the following is/are the HTML4 attributes removed in HTML5.
i) align ii) hidden iii) size iv) type
A) i, ii and iii only
B) i, iii and iv only
C) i, ii and iv only
D) All i, ii, iii and iv
11. HTML5 uses the input element to create a text field and button back up with appropriate server-side script instead of …………………. element used in previous versions.
A) frameset
B) isindex
C) applet
D) acronym
12. “abbr” element is used in HTML5 instead of ……………….. element used in HTML4.
A) dir
B) isindex
C) applet
D) acronym
13. In HTML5, ………………………… defines a region to be used for bitmap drawing using JavaScript.
A) figure
B) hgroup
C) canvas
D) aside
14. In HTML5 …………………….. defines a group of content that should be used as a figure and may be labeled by a legend element.
A) figure
B) hgroup
C) canvas
D) aside
15. Which of the following is/are the new elements added by HTML5.
i) frame ii) footer iii) header iv) section
A) i, ii and iii only
B) ii, iii and iv only
C) i, ii and iv only
D) All i, ii, iii and iv
16. …………………….. encloses a group of links to serve as document or site navigation.
A) nav
B) menu
C) group
D) navigation
17. Any child of a tag with an itemscope attribute can have an ………………….. attribute set in order to add a property to that item.
A) itemscope
B) itemref
C) itemrop
D) itemid
18. …………………….. attribute specifies a list of space separated elements to traverse in order to find additional name/value pairs for a microdata item.
A) itemscope
B) itemref
C) itemrop
D) itemid
19. Which of the following is/are the key attributes added by HTML5.
i) tabindex ii) itemtype iii) text iv) hidden
A) i, ii and iii only
B) ii, iii and iv only
C) i, ii and iv only
D) All i, ii, iii and iv
20. ……………………. is the new attribute added by HTML5, which specifies user-defined metadata that may be put on tags without concern of collision with current or future attributes.
A) data-x
B) data-y
C) datatype
D) datascope
Answers
1. B) font-size:larger
2. C) i, ii and iv only
3. B) <tt>
4. D) All i, ii and iii
5. A) <small>
6. D) <s>
7. A) <dd>
8. C) <dt>
9. B) ii and iii only
10. B) i, iii and iv only
11. B) isindex
12. D) acronym
13. C) canvas
14. A) figure
15. B) ii, iii and iv only
16. A) nav
17. C) itemrop
18. B) itemref
19. C) i, ii and iv only
20. A) data-x
Read Next:Top 20 MCQ Questions On HTML5 Document Structure
Comments are closed.