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 feature is a part of HTML 5?
Answer : D
Explanation
All of the above options are new features introduced in HTML5.
Q 2 - Which of the following tag can be used to mark up a conversation in HTML5?
Answer : C
Explanation
'dialog' tag can be used to mark up a conversation.
Q 3 - Which of the following input control represents a time (hour, minute, seconds, fractional seconds) encoded according to ISO 8601 in Web Form 2.0?
Answer : B
Explanation
'time' input control represents a time (hour, minute, seconds, fractional seconds) encoded according to ISO 8601.
Answer : A
Explanation
Yes! The HTML syntax of HTML5 allows for MathML elements to be used inside a document using <math>...</math> tags.
Q 5 - Which of the following is correct about WebSockets in HTML5?
Answer : C
Explanation
Both of the above options are correct.
Q 6 - Which of the following is true about 'canvas' tag in HTML5?
A - HTML5 element <canvas> gives you an easy and powerful way to draw graphics using JavaScript.
Answer : C
Explanation
Both of the above options are correct.
Q 7 - Which of the following is correct about web workers in HTML5?
C - Web Workers allow long tasks to be executed without yielding to keep the page responsive.
Answer : D
Explanation
All of the above options are correct.
Q 8 - Which of the following attribute triggers event before the document loads?
Answer : D
Explanation
onbeforeonload − Triggers event before the document loads.
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 an element is invalid?
Answer : C
Explanation
oninvalid − Triggers event when an element is invalid.