MDN will be in maintenance mode on Thursday September 21st, starting at 10 AM Pacific / 5 PM UTC, for about 1 hour.

This is an experimental technology
Because this technology's specification has not stabilized, check the compatibility table for usage in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the specification changes.

The dropzone global attribute is an enumerated attribute indicating what types of content can be dropped on an element, using the Drag and Drop API. It can have the following values:

  • copy, which indicates that dropping will create a copy of the element that was dragged
  • move, which indicates that the element that was dragged will be moved to this new location.
  • link, which will create a link to the dragged data.

Specifications

Specification Status Comment
HTML Living Standard
The definition of 'dropzone' in that specification.
Living Standard No change from latest snapshot, HTML 5.1
HTML 5.1
The definition of 'dropzone' in that specification.
Recommendation Snapshot of HTML Living Standard, initial definition

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support (Yes) -webkit
No support (unprefixed)
No support ? ? ?
Removed 58 -webkit        
Feature Android Webview Chrome for Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support (Yes) -webkit
No support (unprefixed)
(Yes) -webkit
No support (unprefixed)
No support ? ? ?
Removed 58 -webkit 58 -webkit        

See also

Document Tags and Contributors

 Contributors to this page: mfluehr, jpmedley, knod, teoli
 Last updated by: mfluehr,