- 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 Mock Test
This section presents you various set of Mock Tests related to HTML5 Framework. You can download these sample mock tests at your local machine and solve offline at your convenience. Every mock test is supplied with a mock test key to let you verify the final score and grade yourself.
HTML5 Mock Test IV
Q 1 - 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 2 - Which of the following attribute triggers event when a context menu is triggered?
Answer : A
Explanation
oncontextmenu − Triggers event when a context menu is triggered.
Q 3 - Which of the following attribute triggers event when an element is dragged?
Answer : B
Explanation
ondrag − Triggers event when an element is dragged.
Q 4 - 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 5 - Which of the following attribute triggers event when an element has been dragged to a valid drop target?
Answer : D
Explanation
ondragenter − Triggers event when an element has been dragged to a valid drop target.
Q 6 - Which of the following attribute triggers event when an element leaves a valid drop target?
Answer : B
Explanation
ondragleave − Triggers event when an element leaves a valid drop target.
Q 7 - 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 8 - Which of the following attribute triggers event at the start of a drag operation?
Answer : D
Explanation
ondragstart − Triggers event at the start of a drag operation.
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 the length of the media is changed?
Answer : B
Explanation
ondurationchange − Triggers event when the length of the media is changed.
Q 11 - Which of the following attribute triggers event when a media resource element suddenly becomes empty?
Answer : C
Explanation
onemptied − Triggers event when a media resource element suddenly becomes empty.
Q 12 - Which of the following attribute triggers event when media has reach the end?
Answer : D
Explanation
onended − Triggers event when media has reach the end.
Q 13 - Which of the following attribute triggers event when an error occur?
Answer : A
Explanation
onerror − Triggers event when an error occur.
Q 14 - Which of the following attribute triggers event when the window gets focus?
Answer : B
Explanation
onfocus − Triggers event when the window gets focus.
Q 15 - Which of the following attribute triggers events when a form changes?
Answer : C
Explanation
onformchange − Triggers events when a form changes.
Q 16 - Which of the following attribute triggers events when a form gets user input?
Answer : D
Explanation
onforminput − Triggers events when a form gets user input.
Q 17 - Which of the following attribute triggers events when the document has change?
Answer : A
Explanation
onhaschange − Triggers events when the document has change.
Q 18 - Which of the following attribute triggers event when an element gets user input?
Answer : B
Explanation
oninput − Triggers event when an element gets user input.
Q 19 - Which of the following attribute triggers event when an element is invalid?
Answer : C
Explanation
oninvalid − Triggers event when an element is invalid.
Q 20 - Which of the following attribute triggers event when media data is loaded?
Answer : D
Explanation
onloadeddata − Triggers event when media data is loaded.
Q 21 - Which of the following attribute triggers event when the duration and other media data of a media element is loaded?
Answer : A
Explanation
onloadedmetadata − Triggers event when the duration and other media data of a media element is loaded.
Q 22 - Which of the following attribute triggers event when the browser starts to load the media data?
Answer : B
Explanation
onloadstart − Triggers event when the browser starts to load the media data.
Q 23 - Which of the following attribute triggers event when the message is triggered?
Answer : C
Explanation
onmessage − Triggers event when the message is triggered.
Q 24 - Which of the following attribute triggers event when the document goes offline?
Answer : D
Explanation
onoffline − Triggers event when the document goes offline.
Q 25 - Which of the following attribute triggers event when the document comes online?
Answer : D
Explanation
ononline − Triggers event when the document comes online.
Answer Sheet
Question Number | Answer Key |
---|---|
1 | D |
2 | A |
3 | B |
4 | C |
5 | D |
6 | B |
7 | C |
8 | D |
9 | A |
10 | B |
11 | C |
12 | D |
13 | A |
14 | B |
15 | C |
16 | D |
17 | A |
18 | B |
19 | C |
20 | D |
21 | A |
22 | B |
23 | C |
24 | D |
25 | D |
To Continue Learning Please Login
Login with Google