- 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.
Q 1 - Which of the following browser supports HTML5 in its latest version?
Answer : C
Explanation
Both of the above browsers supports HTML5.
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 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 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 - When a session storage data gets deleted in HTML5?
B - If you want to clear all settings, you need to call localStorage.clear() method.
Answer : A
Explanation
The Session Storage Data would be deleted by the browsers immediately after the session gets terminated.
Q 6 - Which of the following is true about 'video' tag in HTML5?
A - HTML5 supports <video> tag which is used to embed a video file in an HTML or XHTML document.
C - Ogg files with Thedora video codec and Vorbis audio codec are supported.
Answer : D
Explanation
All of the above options are correct.
Q 7 - Which of the following attribute is used to group elements?
Answer : A
Explanation
item − Used to group elements.
Q 8 - Which of the following attribute triggers event when media can be played to the end, without stopping for buffering?
Answer : D
Explanation
oncanplaythrough − Triggers event when media can be played to the end, without stopping for buffering.
Q 9 - Which of the following attribute triggers event when dragged element is being dropped?
Answer : A
Explanation
ondrop − Triggers event when dragged element is being dropped.
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.