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.
Answer : B
Explanation
No! HTML tags are not case sensitive.
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 consisting of a year and a week number encoded according to ISO 8601 in Web Form 2.0?
Answer : A
Explanation
'week' input control represents a date consisting of a year and a week number encoded according to ISO 8601.
Q 4 - Which of the following input control is used for input fields that should contain an URL address in Web Form 2.0?
Answer : B
Explanation
'url' input control is used for input fields that should contain an URL address.
Q 5 - Which of the following is correct about Server Side Events(SSE) in HTML5?
A - Using SSE you can push DOM events continously from your web server to the visitor's browser.
C - Server-sent events standardizes how we stream data from the server to the client.
Answer : D
Explanation
All of the above options are correct.
Q 6 - Which of the following method cancels an ongoing watchPosition call?
A - geolocation.getCurrentPosition()
B - geolocation.watchPosition()
Answer : C
Explanation
geolocation.clearPosition() method cancels an ongoing watchPosition call.
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 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 an error occur?
Answer : A
Explanation
onerror − Triggers event when an error occur.
Q 10 - Which of the following attribute triggers event when the duration and other media data of a media element is loaded?
Answer : A
Explanation
onloadedmetadata − Triggers event when the duration and other media data of a media element is loaded.