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 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

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support Yes — 58 -webkit- No No No No No
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support Yes — 58 -webkit- Yes — 58 -webkit- No No No No Yes

See also

Document Tags and Contributors

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