HTML5 Introduction - MCQs

HTML5 Introduction - MCQs


1) The following elements <header>, <footer>, <article>, <section> are the new elements in HTML5. These elements are called,

A) Control attributes
B) Semantic elements
C) Graphic elements
D) Multimedia elements
View Answer / Hide Answer

ANSWER: B) Semantic elements




2) Which among the following browsers does the HTML5 supports?

A) Safari
B) Firefox
C) Internet Explorer
D) All the mentioned above
View Answer / Hide Answer

ANSWER: D) All the mentioned above




3) HTML5 does not use SGML or XHTML it’s completely a new thing so you do not need to refer DTD.

A) Yes
B) No
View Answer / Hide Answer

ANSWER: A) Yes




4) If I do not put <! DOCTYPE html>, will HTML 5 work?

A) Yes, browser will be able to identify that it's a HTML document and HTML 5 tags will function properly
B) No, browser will not be able to identify that it’s a HTML document and HTML 5 tags will not function properly
View Answer / Hide Answer

ANSWER: B) No, browser will not be able to identify that it’s a HTML document and HTML 5 tags will not function properly




5) What is the replacement for cookies in HTML5?

A) Web beacons
B) Java scripts
C) Local Storage
D) All the above
View Answer / Hide Answer

ANSWER: C) Local Storage




6) How many new form elements are introduced in HTML5?

A) 6
B) 4
C) 3
D) 2
View Answer / Hide Answer

ANSWER: C) 3




7) The default character encoding in HTML5 is.

A) UTF-16
B) UTF-32
C) UTF-8
D) ISO-8859-1
View Answer / Hide Answer

ANSWER: C) UTF-8



Post your comment