Attention reader! Don’t stop learning now. Get hold of all the important HTML concepts with the Web Design for Beginners | HTML course.
HTML | dropzone Attribute
The dropzone attribute in HTML is used to specify whether the dragged data copied, moved, or linked when it is dropped on any element. This attribute is new in HTML5.
<element dropzone = "move | link | copy">
- move: This attribute is used to drag the data and drop it into new location.
- copy:This attribute is used to copy the drag data into new location.
- link: This attribute is used to drop the data will result into original data.
Note: The dropzone attribute doesn’t support by the popular browsers.