1. How do you make an element draggable ?
2. What is a Web Worker?
3. Is this correct or not ? <video width="320" height="240" controls="controls"> <source src="movie.mp4" type="video/mp4"> <source src="movie.ogg" type="video/ogg"> <source src="movie.webm" type="video/webm"> Your browser does not support the video tag. </video>
4. Which of the following languages will you use to paint the graphics designed using the HTML 5.0 <canvas> tag?
5. What is Canvas?
6. In HTML5, onblur and onfocus are:
7. What is Application Cache?
8. Which of the following attributes comes in handy when borders have to be put between groups of columns instead of every column?
9. Which of the following is a valid attribute in HTML5?
10. Which of the following <iframe> attributes are NOT supported in HTML 5.0?
11. <video controls="controls" preload="auto"> <source src="song.mp4" type="video/mp4" /> </video> Which of the following is true?
12. Which of the following is NOT a valid attribute for the <link> element in HTML 5.0?
13. What is the function of the history traversal task source in HTML 5.0?
14. Which of the following is NOT a valid value for the “type” attribute of an <input> element?
15. The method used to a circle on a canvas is?
16. You're developing a Metro style app and want the app to access another app. Where do you declare the interaction?
17. Which of the following is a current element in HTML5?
18. Which of the following is not property of <video> element?
19. Which is not a valid tag?
20. Which is not an example of media types?
21. In HTML5, contextmenu and spellcheck are:
22. How does a button created by the <button> tag differ from the one created by an <input> tag?
23. SSE stands for...
24. What is used in HTML5 instead of <font> element?
25. What is the built-in HTML5 object to draw lines, circles, text, rectangles etc.?
26. How should you create a link for your website allowing users to email the webmaster if the webmaster’s email address is webmaster@xcompany.com?
27. What is true about HTML5 Application Cache?
28. What is the <!DOCTYPE> declaration in HTML5?
29. Which attribute do you use to specify that a checkbox or radio-type element should be pre-selected when the page loads?
30. HTML attribute values are usually enclosed in:
31. All are Web Font file formats EXCEPT:
32. When does the ondragleave mouse event get fired in HTML5?
33. A piece of text contains many blank spaces within it. Which tag would be suitable to display the text as it was originally formatted?
34. A computer programming book has to go online. Which tag is ideal for displaying the program snippets?
35. Which
36. You are writing the code for an HTML form and you want the browser to retain the form's input values. That is, if a user submits the form and presses the browser's back button, the fully populated form is displayed instead of a blank form. Which of the following HTML 5 attributes will you use?
37. Which media event will be fired when a media resource element suddenly becomes empty?
38. Which is not a valid syntax for the element in HTML5?
39. Which statement is correct for a blockquote?
40. What is HTML?
41. What will be displayed with such code: Hey if browser does support video and has required codecs?
42. Which is not correct for an action attribute for a form tag?
HTML 5 MCQs | Topic-wise