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 is true about HTML 5?
B - HTML5 is a standard for structuring and presenting content on the World Wide Web.
Answer : D
Explanation
All of the above options are correct.
Q 2 - Which of the following tag represents the footer of a section in HTML5?
Answer : A
Explanation
'footer' tag represents the footer of a section.
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! HTML5 allows embeding SVG directly using <svg>...</svg> tag.
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 method returns a geolocation object in HTML5?
Answer : A
Explanation
navigator.geolocation returns geolocation object.
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 when an element has been dragged to a valid drop target?
Answer : D
Explanation
ondragenter − Triggers event when an element has been dragged to a valid drop target.
Q 9 - Which of the following attribute triggers event when the window gets focus?
Answer : B
Explanation
onfocus − Triggers event when the window gets focus.
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.