- HTML5 Tutorial
- HTML5 - Home
- HTML5 - Overview
- HTML5 - Syntax
- HTML5 - Attributes
- HTML5 - Events
- HTML5 - Web Forms 2.0
- HTML5 - SVG
- HTML5 - MathML
- HTML5 - Web Storage
- HTML5 - Web SQL Database
- HTML5 - Server-Sent Events
- HTML5 - WebSocket
- HTML5 - Canvas
- HTML5 - Audio & Video
- HTML5 - Geolocation
- HTML5 - Microdata
- HTML5 - Drag & drop
- HTML5 - Web Workers
- HTML5 - IndexedDB
- HTML5 - Web Messaging
- HTML5 - Web CORS
- HTML5 - Web RTC
- HTML5 Demo
- HTML5 - Web Storage
- HTML5 - Server Sent Events
- HTML5 - Canvas
- HTML5 - Audio Players
- HTML5 - Video Players
- HTML5 - Geo-Location
- HTML5 - Drag and Drop
- HTML5 - Web Worker
- HTML5 - Web slide Desk
- HTML5 Tools
- HTML5 - SVG Generator
- HTML5 - MathML
- HTML5 - Velocity Draw
- HTML5 - QR Code
- HTML5 - Validator.nu Validation
- HTML5 - Modernizr
- HTML5 - Validation
- HTML5 - Online Editor
- HTML5 - Color Code Builder
- HTML5 Useful References
- HTML5 - Quick Guide
- HTML5 - Color Names
- HTML5 - Fonts Reference
- HTML5 - URL Encoding
- HTML5 - Entities
- HTML5 - Char Encodings
- HTML5 Tag Reference
- HTML5 - Question and Answers
- HTML5 - Tags Reference
- HTML5 - Deprecated Tags
- HTML5 - New Tags
- HTML5 Resources
- HTML5 - Useful Resources
- HTML5 - Discussion
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 : A
Explanation
Yes! HTML5 is designed, as much as possible, to be backward compatible with existing web browsers.
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 time (hour, minute, seconds, fractional seconds) encoded according to ISO 8601 in Web Form 2.0?
Answer : B
Explanation
'time' input control represents a time (hour, minute, seconds, fractional seconds) encoded according to ISO 8601.
Q 4 - Which of the following tag provides a hint to the user of what can be entered in the field in HTML5?
Answer : B
Explanation
HTML5 introduced a new attribute called placeholder. This attribute on <input> and <textarea> elements provides a hint to the user of what can be entered in the field. The placeholder text must not contain carriage returns or line-feeds.
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 cancels an ongoing watchPosition call?
A - geolocation.getCurrentPosition()
B - geolocation.watchPosition()
Answer : C
Explanation
geolocation.clearPosition() method cancels an ongoing watchPosition call.
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 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 events when a form changes?
Answer : C
Explanation
onformchange − Triggers events when a form changes.
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.
To Continue Learning Please Login
Login with Google