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 represents a date consisting of a year and a month encoded according to ISO 8601 in Web Form 2.0?
Answer : D
Explanation
'month' input control represents a date consisting of a year and a month 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 'video' tag in HTML5?
A - MPEG4 files with H.264 video codec and AAC audio codec are supported.
B - You can use <source> tag to specify media along with media type and many other attributes.
Answer : D
Explanation
All 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 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 is being dragged over a valid drop target?
Answer : C
Explanation
ondragover − Triggers event when an element is being dragged over a valid drop target.
Q 10 - Which of the following attribute triggers event when the message is triggered?
Answer : C
Explanation
onmessage − Triggers event when the message is triggered.