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 is true about HTML 5?
B - HTML5 is a standard for structuring and presenting content on the World Wide Web.
Answer : D
Explanation
All of the above options are correct.
Q 2 - 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.
Answer : D
Explanation
All of the above options are correct.
Q 3 - Which of the following input control is used for input fields that should contain a value from a range of numbers in Web Form 2.0?
Answer : D
Explanation
'range' input control is used for input fields that should contain a value from a range of numbers.
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 retrieves the current geographic location of the user?
A - geolocation.getCurrentPosition()
B - geolocation.watchPosition()
Answer : A
Explanation
geolocation.getCurrentPosition() method retrieves the current geographic location of the user.
Q 7 - Which of the following attribute specifies if the user can edit the element's content or not?
Answer : B
Explanation
contenteditable − Specifies if the user can edit the element's content or not.
Q 8 - Which of the following attribute triggers event when a context menu is triggered?
Answer : A
Explanation
oncontextmenu − Triggers event when a context menu is triggered.
Q 9 - Which of the following attribute triggers events when a form changes?
Answer : C
Explanation
onformchange − Triggers events when a form changes.
Q 10 - Which of the following attribute triggers events when the document has change?
Answer : A
Explanation
onhaschange − Triggers events when the document has change.