1D0-720 · Question #73
Which of the following are common HTML5 APIs?
The correct answer is D. All of the above. All three options - Canvas API, Geolocation API, and Drag-and-Drop API - are genuine, well-established HTML5 APIs, making D (All of the above) correct. The Canvas API provides a <canvas> element for drawing 2D graphics via JavaScript. The Geolocation API allows browsers to…
Question
Which of the following are common HTML5 APIs?
Options
- ACanvas API
- BGeolocation API
- CDrag-and-Drop API
- DAll of the above
How the community answered
(21 responses)- B5% (1)
- C5% (1)
- D90% (19)
Explanation
All three options - Canvas API, Geolocation API, and Drag-and-Drop API - are genuine, well-established HTML5 APIs, making D (All of the above) correct. The Canvas API provides a <canvas> element for drawing 2D graphics via JavaScript. The Geolocation API allows browsers to access a user's physical location (with permission). The Drag-and-Drop API enables native drag-and-drop interactions between elements without third-party libraries. Since A, B, and C are each valid HTML5 APIs rather than distractors, none of them is wrong on its own - the trick is recognizing that "all of the above" is the most complete answer. Memory tip: Think "CGD - Canvas draws, Geo locates, Drag moves" - three core browser superpowers introduced with HTML5.
Topics
Community Discussion
No community discussion yet for this question.