
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 tag represents an independent piece of content of a document in HTML5?
Answer : B
Explanation
'article' tag represents an independent piece of content of a document, such as a blog entry or newspaper article.
Q 2 - Which of the following tag represents a section of the document intended for navigation in HTML5?
Answer : B
Explanation
'nav' tag represents a section of the document intended for navigation.
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.
Q 4 - Which of the following tag is used to represent the result of different types of output in HTML5?
Answer : A
Explanation
HTML5 introduced a new element <output> which is used to represent the result of different types of output, such as output written by a script.
Q 5 - Which of the following is correct Content-type header that a server side script should send for SSE in HTML5?
A - Content-Type: text/event-stream
B - Content-Type: text/application-stream
Answer : A
Explanation
Server side script should send Content-type header specifying the type text/event-stream.
Q 6 - Which of the following is true about 'audio' tag in HTML5?
A - Commonly used audio formats ogg, mp3 and wav 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 at the end of a drag operation?
Answer : C
Explanation
ondragend − Triggers event at the end of a drag operation.
Q 9 - Which of the following attribute triggers event when media has reach the end?
Answer : D
Explanation
onended − Triggers event when media has reach the end.
Q 10 - Which of the following attribute triggers event when the document comes online?
Answer : D
Explanation
ononline − Triggers event when the document comes online.