Latest web development tutorials
 

HTML dropzone Attribute


Definition and Usage

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


Applies to

The dropzone attribute is part of the Global Attributes, and can be used on any HTML element.

Element Attribute
All HTML elements dropzone

Example

Example

Dropping the data will result in a copy of the dragged data:

<div dropzone="copy"></div>

Browser Support

Attribute
dropzone Not supported Not supported Not supported Not supported Not supported