This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The dropzone global attribute is an enumerated attribute indicating what types of content can be dropped on an element, using the HTML 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 5.1
The definition of 'dropzone' in that specification.
Recommendation Snapshot of HTML Living Standard, initial definition

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidiOS SafariSamsung Internet
Basic support
Experimental
Chrome No support ? — 58
Prefixed
No support ? — 58
Prefixed
Prefixed Requires the vendor prefix: -webkit-
Edge No support NoFirefox No support NoIE No support NoOpera No support NoSafari No support NoWebView Android No support ? — 58
Prefixed
No support ? — 58
Prefixed
Prefixed Requires the vendor prefix: -webkit-
Chrome Android No support ? — 58
Prefixed
No support ? — 58
Prefixed
Prefixed Requires the vendor prefix: -webkit-
Edge Mobile No support NoFirefox Android No support NoOpera Android No support NoSafari iOS No support NoSamsung Internet Android Full support Yes

Legend

Full support  
Full support
No support  
No support
Experimental. Expect behavior to change in the future.
Experimental. Expect behavior to change in the future.
Requires a vendor prefix or different name for use.
Requires a vendor prefix or different name for use.

See also

Document Tags and Contributors

Last updated by: mfluehr,