The document discusses various HTML5 concepts including semantic elements like article and nav, new form input types like date and time, multimedia elements like video and audio, canvas vs SVG graphics, web storage vs cookies, app cache, geolocation API, drag and drop events, and default UTF-8 encoding. It provides questions and answers related to features and appropriate uses of these new HTML5 features.
The document discusses various HTML5 concepts including semantic elements like article and nav, new form input types like date and time, multimedia elements like video and audio, canvas vs SVG graphics, web storage vs cookies, app cache, geolocation API, drag and drop events, and default UTF-8 encoding. It provides questions and answers related to features and appropriate uses of these new HTML5 features.
The document discusses various HTML5 concepts including semantic elements like article and nav, new form input types like date and time, multimedia elements like video and audio, canvas vs SVG graphics, web storage vs cookies, app cache, geolocation API, drag and drop events, and default UTF-8 encoding. It provides questions and answers related to features and appropriate uses of these new HTML5 features.
Which of the following tag represents an independent piece of content of a
document in HTML5? article 2. What happens if you view a new HTML5 form input type in an older browser It reverts to standard text input 3. Which HTML5 tag would you use to define footer? footer 4. Which of the following input control represents a date (year, month, day) encoded according to ISO 8601 in Web Form 2.0? date 5. What is the HTML5 Stack? html5, css3, javascript 6. What is the recommended method to detect browser compatibility for features Use Modernizr 7. Which of the following tags represents a section of document used for navigation? nav 8. Which Semantic element is best suitable for content like blog post that is self contained, independent and can be republished? article 9. Which of the following tags are no longer valid in HTML5? align 10. Which of the following attribute triggers events when a form changes? onformchange 11. What are the new form elements introduced in HTML5 datalist,keygen, output 12. Audio element can be programmatically controlled from javascript 13. How do you embed a video player using iframe 14. Which attribute of the video tag specifies an image to be shown while the video is downloading? poster 15. HTML5 audio tag has a number of attributes to control the look and feel and various functionalities of the audio player. Which of the following is not an attribute of HTML5 audio element? stop 16. The controls attribute adds audio/video controls like PLAY, PAUSE and VOLUME true 17. Which of the following is not true about Canvas? Each shape in Canvas is looked at as an object 18. Scalable Vector Graphics are defined in which markup language? XML 19. How do you place a canvas element with an ID of canvas1 into a JavaScript variable? var canvas1 = document.getElementById('canvas1'); 20. Which of the following is not true about SVG graphics? Graphics in SVG are defined using Java script 21. Which is best suited for applications with large rendering areas e.g.: Google maps? SVG 22. Which of the following is true about 'canvas' tag in HTML5? (I) Easy way to draw graphics using JavaScript (II) Can be use to make Animations I & II 23. SVG is mostly useful for vector type diagrams like Charts and 2D Graphs 24. Websites can store data on users computer using Web Storage. How is Web Storage different from Cookies? All the options 25. Data from Web Storage is sent to server with every request, giving a big advantage compared to Cookies. False 26. Web Apps can start faster and work even if there is no internet connection when you use App Cache 27. Which for the following API's can be used to suggest near by restaurants in a restaurant finder app? Geolocation API 28. Which of the following statements about Modernizer is true? It detects which features the browser supports 29. Application Cache enables All the options 30. Which API can be used to display thumbnail image of a file being uploaded in a HTML5 Photo sharing website? File API 31. Semantic HTML5 elements allows data to be shared and reused across applications, enterprises, and communities. True 32. The Default Encoding in HTML5 is UTF-8 33. Which of the following attribute specifies whether or not a user is allowed to drag an element? draggable 34. Which of the following is not suited for game applications? SVG 35. Which of the following input control represents a date consisting of a year and a week number encoded according to ISO 8601 in Web Form 2.0? week 36. If you do not put "", will HTML5 tags work No, Browser will not be able to detect HTML and the tags will not function properly 37. Which of the following attribute triggers event when an element is dragged? ondrag 38. The elements header, footer, article, section in HTML5 are called - Semantic Elements 39. SVG is a Graphic Element