- 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 tag represents a generic document or application section in HTML5?
Answer : A
Explanation
'section' tag represents a generic document or application section. It can be used together with h1-h6 to indicate the document structure.
Q 2 - Which of the following tag can be used to mark up a conversation in HTML5?
Answer : C
Explanation
'dialog' tag can be used to mark up a conversation.
Q 3 - Which of the following input control represents a date and time (year, month, day, hour, minute, second, fractions of a second) encoded according to ISO 8601 with the time zone set to UTC in Web Form 2.0?
Answer : A
Explanation
'datetime' input control represents a date and time (year, month, day, hour, minute, second, fractions of a second) encoded according to ISO 8601 with the time zone set to UTC.
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 - How to delete a local storage data in HTML5?
B - If you want to clear all settings, you need to call localStorage.clear() method.
Answer : C
Explanation
Both of the above options are valid.
Q 6 - Which of the following is true about 'video' tag in HTML5?
A - MPEG4 files with H.264 video codec and AAC audio codec are supported.
B - You can use <source> tag to specify media along with media type and many other attributes.
Answer : D
Explanation
All of the above options are correct.
Q 7 - Which of the following attribute is used to group items?
Answer : B
Explanation
itemprop − Used to group items.
Q 8 - Which of the following attribute triggers event after the document is printed?
Answer : C
Explanation
onafterprint − Triggers event after the document is printed.
Q 9 - Which of the following attribute triggers event when an element is being dragged over a valid drop target?
Answer : C
Explanation
ondragover − Triggers event when an element is being dragged over a valid drop target.
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.
To Continue Learning Please Login
Login with Google