
HTML5 Online Quiz
Following quiz provides Multiple Choice Questions (MCQs) related to HTML5 Framework. You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz.

Q 1 - Which of the following browser supports HTML5 in its latest version?
Answer : C
Explanation
Both of the above browsers supports HTML5.
Q 2 - Which of the following tag represents a piece of content that is only slightly related to the rest of the page in HTML5?
Answer : C
Explanation
'aside' tag represents a piece of content that is only slightly related to the rest of the page.
Q 3 - Which of the following input control accepts only numerical value in Web Form 2.0?
Answer : C
Explanation
'number' input control accepts only numerical value. The step attribute specifies the precision, defaulting to 1.
Q 4 - Which of the following is true about Cookies?
C - Cookies are limited to about 4 KB of data . Not enough to store required data.
Answer : D
Explanation
All of the above options are correct.
Q 5 - Which value of Socket.readyState atribute of WebSocket indicates that the connection has not yet been established?
Answer : A
Explanation
A value of 0 indicates that the connection has not yet been established.
Q 6 - Which of the following is correct about geolocation api in HTML5?
A - The geolocation APIs work with a new property of the global navigator object.
Answer : C
Explanation
Both of the above options are correct.
Q 7 - Which of the following attribute specifies a keyboard shortcut to access an element in HTML5?
Answer : A
Explanation
accesskey - Specifies a keyboard shortcut to access an element.
Q 8 - Which of the following attribute triggers event before the document is printed?
Answer : A
Explanation
onbeforeprint − Triggers event before the document is printed.
Q 9 - Which of the following attribute triggers event when an element leaves a valid drop target?
Answer : B
Explanation
ondragleave − Triggers event when an element leaves a valid drop target.
Q 10 - Which of the following attribute triggers event when the duration and other media data of a media element is loaded?
Answer : A
Explanation
onloadedmetadata − Triggers event when the duration and other media data of a media element is loaded.