Home Practice Test Questions CSS 3 Short Cut Drag and Drop Jquery HTML5 APIs Group HTML 5 API

Drag the Dog image into the rectangle:

The HTML5 Drag-and-Drop API allows users to drag elements to another location on a Webpage or to an external application. Which attribute enables an element to be moved?

a. id=”draggable”

b. onclick=”drag”

c. draggable=”yes”

d. draggable=”true"


dog

Flip between the two boxes