nerdexam
CIW

1D0-720 · Question #8

What functionality does the HTML5 Drag-and-Drop API offer?

The correct answer is B. Allowing users to drag and drop elements within and between web pages. Option B is correct because the HTML5 Drag-and-Drop API is specifically designed to enable interactive drag-and-drop functionality - users can pick up elements (images, text, files) and drop them in new locations, either within the same page or across browser windows/tabs. Why…

HTML5 APIs

Question

What functionality does the HTML5 Drag-and-Drop API offer?

Options

  • AIncreasing the speed of page loading.
  • BAllowing users to drag and drop elements within and between web pages.
  • CEncrypting user data.
  • DAutomatically translating web pages.

How the community answered

(19 responses)
  • B
    95% (18)
  • C
    5% (1)

Explanation

Option B is correct because the HTML5 Drag-and-Drop API is specifically designed to enable interactive drag-and-drop functionality - users can pick up elements (images, text, files) and drop them in new locations, either within the same page or across browser windows/tabs.

Why the distractors are wrong:

  • A (page loading speed) - Performance optimization involves techniques like caching, minification, and lazy loading; drag-and-drop has no role in this.
  • C (encrypting data) - Encryption is handled by protocols like TLS/HTTPS and Web Crypto API, not UI interaction APIs.
  • D (auto-translation) - Translation is the domain of browser built-ins or services like the Google Translate API, entirely unrelated to element interaction.

Memory tip: Think of the name literally - "Drag-and-Drop API" does exactly what it says on the tin. If an exam answer matches the API's own name, it's almost always correct. The distractors (speed, encryption, translation) are all unrelated domains - none of them involve moving things around on screen.

Topics

#HTML5 Drag-and-Drop API#DOM interaction#User events#Data transfer

Community Discussion

No community discussion yet for this question.

Full 1D0-720 Practice