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.
Answer : A
Explanation
Yes! HTML5 allows embeding SVG directly using <svg>...</svg> tag.
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 is correct about geolocation api in HTML5?
A - The geolocation APIs work with a new property of the global navigator object.
Answer : C
Explanation
Both of the above options are correct.
Q 7 - Which of the following attribute specifies if the element must have it's spelling or grammar checked?
Answer : C
Explanation
spellcheck − Specifies if the element must have it's spelling or grammar checked.
Q 8 - Which of the following attribute triggers event when media can start play, but might has to stop for buffering?
Answer : C
Explanation
oncanplay − Triggers event when media can start play, but might has to stop for buffering.
Q 9 - Which of the following attribute triggers event when dragged element is being dropped?
Answer : A
Explanation
ondrop − Triggers event when dragged element is being dropped.
Q 10 - Which of the following attribute triggers event when an element gets user input?
Answer : B
Explanation
oninput − Triggers event when an element gets user input.