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 tag represents the footer of a section in HTML5?
Answer : A
Explanation
'footer' tag represents the footer of a section.
Q 3 - Which of the following input control represents a date (year, month, day) encoded according to ISO 8601 in Web Form 2.0?
Answer : C
Explanation
'date' input control represents a date (year, month, day) encoded according to ISO 8601.
Q 4 - Which of the following tag is used to represent the result of different types of output in HTML5?
Answer : A
Explanation
HTML5 introduced a new element <output> which is used to represent the result of different types of output, such as output written by a script.
Q 5 - Which value of Socket.readyState atribute of WebSocket indicates that the connection is going through the closing handshake?
Answer : C
Explanation
A value of 2 indicates that the connection is going through the closing handshake.
Q 6 - Which of the following method returns a geolocation object in HTML5?
Answer : A
Explanation
navigator.geolocation returns geolocation object.
Q 7 - Which of the following attribute triggers an abort event?
Answer : B
Explanation
onabort − Triggers an abort event.
Q 8 - Which of the following attribute triggers event at the end of a drag operation?
Answer : C
Explanation
ondragend − Triggers event at the end of a drag operation.
Q 9 - Which of the following attribute triggers event when the window gets focus?
Answer : B
Explanation
onfocus − Triggers event when the window gets focus.
Q 10 - Which of the following attribute triggers event when the document comes online?
Answer : D
Explanation
ononline − Triggers event when the document comes online.