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 is correct about custom attributes in HTML5?
A - A custom data attribute starts with data- and would be named based on your requirement.
Answer : C
Explanation
Both of the above options are correct.
Q 3 - Which of the following input control represents a date and time (year, month, day, hour, minute, second, fractions of a second) encoded according to ISO 8601 with no time zone information in Web Form 2.0?
Answer : B
Explanation
'datetime-local' input control represents a date and time (year, month, day, hour, minute, second, fractions of a second) encoded according to ISO 8601 with no time zone information.
Q 4 - Which of the following is true about Session Storage in HTML5?
B - It will be accessible to any page from the same site opened in that window i.e. session.
Answer : D
Explanation
All of the above options are correct.
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 method returns a geolocation object in HTML5?
Answer : A
Explanation
navigator.geolocation returns geolocation object.
Q 7 - Which of the following attribute triggers event when the document goes offline?
Answer : A
Explanation
offline − Triggers event when the document goes offline.
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 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 browser starts to load the media data?
Answer : B
Explanation
onloadstart − Triggers event when the browser starts to load the media data.