Drag and Drop

Drag and Drop is powerful User Interface concept which makes it easy to copy, reorder and deletion of items with the help of mouse clicks. This allows the user to click and hold the mouse button down over an element, drag it to another location, and release the mouse button to drop the element there.In this exercise, we will test drag and drop feature of HTML5 by dragging and dropping a picture.


This exercise illustrates Drag and Drop feature of HTML 5. In this exercise, change code to make the pcture draggable and then drag picture to upper rectangle.

Copyright © learn-html.org. Read our Terms of Use and Privacy Policy