1) Yes
2) No
Ans: 2) No2. Data from Web Storage is sent to the server with every request, giving a big advantage compared to Cookies.
1) True
2) False
Ans: 2) False
3. The following are true about Canvas, except ______
1) Canvas is well suited for intense graphics
2) Canvas renders graphics pixel by pixel
3) Canvas draws graphics on the fly using JavaScript
4) Each shape in Canvas is looked at as an object
Ans: 4) Each shape in Canvas is looked at as an object
4. The controls attribute adds audio/video controls like PLAY, PAUSE and VOLUME.
1) False
2) True
Ans: 2) True
5. Which of the following attributes specifies whether a user is allowed to drag an element or not?
1) drag
2) draggable
3) context
4) dragdrop
Ans: 2) draggable
6. What are the new form elements introduced in HTML5?
1) datalist, keygen, output
2) optgroup, button, keygen
3) optgroup, button, datalist
4) datalist, keygen, button
Ans: 1) datalist, keygen, output
7. You can embed a video player using _________
1) iframe
2) vid
3) src
4) source
Ans: 1) iframe
8. Which HTML5 tag would you use to define footer?
1) bottom
2) footer
3) foot
4) body
Ans: 2) footer
9. Which plugin is required to use SVG tags in HTML5?
1) Does not require a plugin
2) Graphics
3) Vector Graphics
4) Modernizr
Ans: 1) Does not require a plugin
10. Application Cache enables __________
1) All the options
2) Reduction of Server Load
3) Offline Browsing
4) Higher Speed
Ans: 1) All the options
11. HTML5 audio tag has a number of attributes to control the look and feel and various functionalities of the audio player. The following are attributes of HTML5 audio element, except ________
1) src
2) controls
3) stop
4) autoplay
Ans: 3) stop
12. Which of the following tags represents a section of document used for navigation?
1) section
2) nav
3) footer
4) navigation
Ans: 2) nav
13. Which API can be used to display the thumbnail image of a file being uploaded in a HTML5 Photo sharing website?
1) Cache API
2) Device Access API
3) Web Storage API
4) File API
Ans: 4) File API
14. Which of the following is true about 'canvas' tag in HTML5?
(I) Easy way to draw graphics using JavaScript (II) Can be used to make Animations
1) I
2) II
3) None of the options
4) Both I and II
Ans: 4) Both I and II
15. Which attribute of the video tag specifies an image to be shown while the video is downloading?
1) img
2) poster
3) src
4) fig
Ans: 2) poster
16. Semantic HTML5 elements allows data to be shared and reused across applications, enterprises, and communities.
1) True
2) False
Ans: 1) True
17. The elements header, footer, article, and section in HTML5 are called ________
1) Page Elements
2) Semantic Elements
3) Semantic Elements
4) Control Attributes
Ans: 3) Semantic Elements
18. SVG graphics lose quality if they are zoomed or re-sized.
1) True
2) False
Ans: 2) False
19. Which relies on proprietary technology that is not an open source?
1) Canvas
2) Graphics
3) SVG
4) Flash
Ans: 4) Flash
20. Web Apps can start faster and work even if there is no internet connection when you use ________
1) Local Storage
2) App Cache
3) Session Storage
4) Cloud
Ans: 2) App Cache
No comments:
Post a Comment
If you have any doubts, Please let us know.