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 feature is a part of HTML 5?
All of the above options are new features introduced in HTML5.
Q 2 - Which of the following tag can be used to mark up a conversation in HTML5?
'dialog' tag can be used to mark up a conversation.
Q 3 - Which of the following is correct about Web form 2.0 in HTML5?
A - Web Forms 2.0 is an extension to the forms features found in HTML4.
B - Form elements and attributes in HTML5 provide a greater degree of semantic mark-up than HTML4.
All of the above options are correct.
Q 4 - Which of the following input control is used for input fields that should contain an URL address in Web Form 2.0?
'url' input control is used for input fields that should contain an URL address.
Q 5 - Which value of Socket.readyState atribute of WebSocket indicates that the connection is going through the closing handshake?
A value of 2 indicates that the connection is going through the closing handshake.
Q 6 - Which of the following method retrieves the current geographic location of the user?
A - geolocation.getCurrentPosition()
B - geolocation.watchPosition()
geolocation.getCurrentPosition() method retrieves the current geographic location of the user.
Q 7 - Which of the following attribute specifies a keyboard shortcut to access an element in HTML5?
accesskey - Specifies a keyboard shortcut to access an element.
Q 8 - Which of the following attribute triggers event when the window loses focus?
onblur − Triggers event when the window loses focus.
Q 9 - Which of the following attribute triggers event at the start of a drag operation?
ondragstart − Triggers event at the start of a drag operation.
Q 10 - Which of the following attribute triggers event when an element gets user input?
oninput − Triggers event when an element gets user input.