- 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
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
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 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 date and time (year, month, day, hour, minute, second, fractions of a second) encoded according to ISO 8601 with no time zone information in Web Form 2.0?
Answer : B
Explanation
'datetime-local' input control represents a date and time (year, month, day, hour, minute, second, fractions of a second) encoded according to ISO 8601 with no time zone information.
Answer : A
Explanation
Yes! The HTML syntax of HTML5 allows for MathML elements to be used inside a document using <math>...</math> tags.
Q 5 - Which of the following is correct Content-type header that a server side script should send for SSE in HTML5?
A - Content-Type: text/event-stream
B - Content-Type: text/application-stream
Answer : A
Explanation
Server side script should send Content-type header specifying the type text/event-stream.
Q 6 - Which of the following is correct about geolocation api in HTML5?
A - HTML5 Geolocation API lets you share your location with your favorite web sites.
C - Today most of the browsers and mobile devices support Geolocation API.
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 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 an element is invalid?
Answer : C
Explanation
oninvalid − Triggers event when an element is invalid.