HTML dropzone Attribute

HTML dropzone Attribute

The dropzone attribute is an enumerated attribute indicating whether the dragged data is copied, moved, or linked, when it is dropped on an element.

Warning: The dropzone attribute is deprecated and is no longer recommended.

Example

HTML Online Editor
<!DOCTYPE html> <html> <body> <div dropzone="copy"></div> <p draggable="true"></p> </body> </html>

Attribute Value

ValueExplanation
copySpecifies that dropping an element will create a copy of the element that was dragged.
moveSpecifies that the element was dragged will be moved to this new location.
linkSpecifies that the draopping an element will create a link to the dragged data.

Reminder

Hi Developers, we almost covered 99.5% of HTML Tutorials with examples for quick and easy learning.

We are working to cover every Single Concept in HTML.

Please do google search for:

Join Our Channel

Join our telegram channel to get an instant update on depreciation and new features on HTML, CSS, JavaScript, jQuery, Node.js, PHP and Python.

This channel is primarily useful for Full Stack Web Developer.

Meet the Author