HTML5 basics Exercise 1. HTML5 basics exercise
1. What is the HTML version before HTML5?
A:In HTML 4.01
2. Is doctype correct for HTML5?
A:<! DOCTYPE html>
3. In HTML5, Which element is used to combine the title element?
A:<Hgroup>
4. Is HTML5 supported?<Font>Element?
A:No
5. Is HTML5 supported?<Acronym>Element?
Answer: No
6. In HTML5, onblur and onfocus are:
A:Event attributes
7. The correct HTML5 elements used to play HTML5 video files are:
A:<Video>
8. The correct HTML5 elements used to play HTML5 audio files are:
A:<Audio>
9. Which attribute of the <script> element is no longer supported in HTML5?
A:Rel
10. In HTML5, which method is used to obtain the current user location?
A:GetCurrentPosition ()
11. The new HTML5 global attribute "contenteditable" is used:
A:Specifies whether the content of an element is editable.
12. In HTML5, contextmenu and spellcheck are:
A:HTML attributes
13. In HTML5, you can directly embed SVG elements into HTML pages.
A:Correct
14. What format is the image defined by SVG?
A:XML
15. The <canvas> element in HTML5 is used:
A:Drawing
16. Which HTML5 built-in object is used for drawing on the canvas?
A:GetContext
17. In HTML5, which attribute is used to specify that the input field is required?
A:Required
18. Which input type defines the slider control?
A:Range
19. Which input type is used to define the week and year controls (No Time Zone )?
A:Week
20. Which HTML5 element is used to display scalar measurements within a known range?
A:<Meter>