HTML dropzone Attribute


Definition and Usage

The dropzone attribute is a global attribute. This attribute is new in HTML5. Means, this attribute does not work in the previous versions of HTML.
It specifies that what type of content will be dropped.

Values :

  1. copy : value defines that a copy of the data will be dragged, while the original data will be available on his location
  2. move : value defines that the data will be moved to another location.
  3. link : value defines that after dragging, the data will provide a link to the original data.

Example :

<h3 dropzone="move"> Moving dropzone element </h3>

Here are a few tutorials for you to read next:

If you find this tutorial helpful, then please Subscribe to our YouTube Channel for video tutorials, and share this article on social media.

Leave a Comment

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