Olete.in
Articles
Mock Tests
🧪 HTML5 MCQ Quiz Hub
Html5 MCQ
Choose a topic to test your knowledge and improve your HTML5 skills
1. Which browsers does the HTML5 supports?
Firefox
Safari
Internet Explorer
All the mentioned above
2. _____________is the replacement for cookies in HTML5.
Java scripts
Web beacons
Local Storage
All of the above
3. The new form elements are introduced in HTML5 is -
2
3
4
None of the above
4. __________is not a HTML5 tag.
<source>
<video>
<slider>
All of the above
5. . Which of the following element may contain not just links but also other interactive items, including the newly introduced command element.
meter
progress
details
menu
6. 8. Which of the following element does not support autofocus attribute?
<input>
<base>
<select>
both 1 & 2
7. _____________ is not a Boolean attribute
. Formvalidate
Formtarget
Novalidate
None of the above
8. Which of the following element is used for or styling HTML5 layout?
CSS
PHP
JavaScript
jQuery
9. _____________feature was already introduced before HTML5.
Video
Canvas/SVG
Frames
All of the above
10. Which of the following tag is used with JavaScript?
<table>
<canvas>
<article>
<footer>
11. ______________ is the correct syntax of doctype in HTML5.
</doctype html>
<doctype html!>
<!doctype html>
All of the above
12. Which is not semantic element for text in HTML5?
<time>
<mark>
<article>
All of the above
13. An article element contains -
Text or embedded content
Image
Audio
None of these
14. The most interesting new API's in HTML5 are -
HTML Geolocation & HTML Application Cache
HTML Drag and Drop & HTML Web Workers
HTML Local Storage & HTML SSE
All of the above
15. The following HTML4 elements have been removed in HTML5:
<applet>
<center>
<dir>
All of the above
16. . Choose the item below that is not an html5 element.
footer
article
wrapper
figcaption
17. Which of the following feature is a part of HTML 5?
Persistent Local Storage
WebSocket
Server-Sent Events
All of the above
18. Which of the following is correct about custom attributes in HTML5?
A custom data attribute starts with data- and would be named based on your requirement.
- You would be able to get the values of these attributes using JavaScript APIs or CSS in similar way as you get for standard attributes.
Both of the above.
None of the above
19. Which of the following input control accepts only numerical value in Web Form 2.0?
week
time
number
range
20. Which of the following tag automatically focus one particular form field in HTML5?
output
placeholder
autofocus
required
21. Which of the following is correct Content-type header that a server side script should send for SSE in HTML5?
Content-Type: text/event-stream
Content-Type: text/application-stream
Content-Type: text/data-stream
None of the above
22. Which of the following is true about 'audio' tag in HTML5?
Commonly used audio formats ogg, mp3 and wav are supported.
You can use <source> tag to specify media along with media type and many other attributes.
An audio element allows multiple source elements and browser will use the first recognized format.
All of the above
23. Which of the following attribute is used to group elements?
item
itemprop
itemcheck
itemgroup
24. Which of the following attribute triggers event when an element has been dragged to a valid drop target?
ondragleave
ondrag
ondragend
ondragenter
25. Which of the following attribute triggers event at the start of a drag operation?
ondragleave
ondrag
ondragover
ondragstart
26. Which of the following attribute triggers event when the browser starts to load the media data?
onloadedmetadata
onloadstart
onmessage
onoffline
27. Which of the following browser supports HTML5 in its latest version?
Apple Safari
Google Chrome
Both A & B
None of the above
28. Which of the following tag represents a piece of content that is only slightly related to the rest of the page in HTML5?
Section
Article
Header
Aside
29. Which of the following input control accepts only numerical value in Web Form 2.0?
Time
week
Number
Range
30. Which of the following attribute specifies the context menu for an element?
Key
Context
Contextmenu
Contextcontent
31. Which of the following are table tags?
table, thead, tr, td
table, tt, tr, td
colspan, table, tr
None of the above
32. hat is the replacement for cookies in HTML5?
Local Storage
Java scripts
Web beacons
None of the Above
33. How many new form elements are introduced in HTML5?
2
3
4
7
34. The default character encoding in HTML5 is.
UTF-8
UTF-16
. UTF-32
None of the above
35. Which of the following tag insists to have a value in an input control in HTML5?
required
output
autofocus
placeholder
36. Which of the following attribute specifies a keyboard shortcut to access an element in HTML5?
accesskey
contextkey
contextmenu
key
37. __tag is used to specify an inline frame.
< jframe>
< frame>
< iframe>
< frameset>
38. Which among the following browsers have support to html5?
Safari
Chrome
.Internet Explorer
All of the above
39. The __________ element may contain not just links but also other interactive items, including the newly introduced command element.
menu
meter
details
progress
40. What are the new form elements introduced in html5?
2
3
4
None of the above
41. An article element contains ............
Audio
Image
.Text or embedded content
None of the above
42. All html5 tags must ..........
Uppercase
Lowercase
Both Uppercase & Lowercase
None of the above
43. Which feature was already introduced before HTML5?
Video
Frames
Canvas/SVG
Geolocation
44. Which tag is used with javascript?
<table>
<footer>
<article>
<canvas>
45. Which of the following element is used for or styling HTML5 layout?
PHP
CSS
jQuery
JavaScript
46. What is the replacement for cookies in HTML5?
Java scripts
Local Storage
Web beacons
All of the above
47. The html5 specification includes ...........
Data storage
Graphics APIs
.Other APIs for web apps
All of the above
48. The html5 specification does not includes ........
Data storage
Graphics APIs
Networking
Other APIs for web apps
49. Which of the following element does not support autofocus attribute?
<input>
<base>
<select>
None of the above
50. What is the correct syntax of doctype in html5?
<:/doctype html>
<:doctype html>
<:!doctype html>
<:!DOCTYPE html>
51. Which of the following is a new input attributes introduced by html5?
text
date
submit buttons
checkbox controls
52. Which of the following is not a HTML5 tag?
<:track>
<:source>
<:slider>
<:video>
53. Which of the following is not a HTML5 added form element?
<keygen>
<output>
<password>
.<datalist>
54. Which of the following tag is used with javascript?
<table>
<article>
<canvas>
<footer>
55. An article element contains ...........
Image
Video & Audio
Text or embedded content
All of the above
56. Which of the following is not semantic element for text in HTML5?
<wbr>
<time>
.<mark>
.<article>
57. Choose the item below that is not an html5 element.
article
wrapper
footer
None of the above
58. Which of the following is true about 'video' tag in HTML5?
Ogg files with Thedora video codec and Vorbis audio codec are supported.
HTML5 supports video tag which is used to embed a video file in an HTML or XHTML document.
The current HTML5 draft specification does not specify which video formats browsers should support in the video tag.
All of the above
59. Which element was not removed by HTML5?
<big>
<small>
<strike>
<center>
60. Which of the following is not a Boolean attribute?
Novalidate
Formtarget
Formvalidate
None of the above
61. What are the most interesting new API's in HTML5?
HTML Local Storage & HTML SSE
HTML Drag and Drop & HTML Web Workers
HTML Geolocation & HTML Application Cache
All of the above
62. Which element is used to get highlighted text in HTML5?
<u>
<b>
.<mark>
<highlight>
Submit