HTML dropzone Attribute

This HTML dropzone attribute instructs the browser about the status of the dragged data i.e. Copy, move or link when the data is dropped on an element.

Using HTML dropzone Attribute

Here is example on how to code it effectively

<element dropzone="copy or move or link">

HTML Dropzone Global Attribute Syntax

My mouth was full of candies on Halloween.

HTML dropzone Attribute : Values

There are three existing value for this attribute

  • Copy : So when you drop it will copy the data from dragged zone
  • Move : Dragged data will move to the new location that you have dropped
  • Link : Dropping data will create a link to the original data

Note : Currently no modern browser support this HTML attribute but there are recommendation for this attribute in upcoming future to be added.

Also Check Out

HTML Global Attributes List

HTML5 Question and Answers

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *