HTML5 basics Exercise 1. HTML5 basics exercise

Source: Internet
Author: User

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>

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.