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 is used for input fields that should contain an e-mail address in Web Form 2.0?
Answer : A
Explanation
'email' input control is used for input fields that should contain an e-mail address.
Q 4 - Which of the following tag automatically focus one particular form field in HTML5?
Answer : C
Explanation
This is a simple one-step pattern, easily programmed in JavaScript at the time of document load, automatically focus one particular form field.
Q 5 - Which value of Socket.readyState atribute of WebSocket indicates that the connection has not yet been established?
Answer : A
Explanation
A value of 0 indicates that the connection has not yet been established.
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 whether or not a user is allowed to drag an element?
Answer : D
Explanation
draggable - Specifies whether or not a user is allowed to drag an element.
Q 8 - Which of the following attribute triggers event when the window loses focus?
Answer : B
Explanation
onblur − Triggers event when the window loses focus.
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 media data is loaded?
Answer : D
Explanation
onloadeddata − Triggers event when media data is loaded.