HTML dropzone Global Attribute

Description

The global attribute dropzone indicates what to do when dragging and dropping onto the copy / move / link element.

This is an experimental attribute, please do not use in production code.

Syntax

<element dropzone="copy | move | link">

Values

  • copyThe contents of the moved item will be copied to the area.
  • moveThe contents of the item being moved will be placed in the area.
  • linkWhen moving, a link to the initial data of the element is created.

Browser Support

Desktop
Explorer Edge Chrome Firefox Opera Safari
XXYesXYesX
Tablets / Mobile
Android Chrome Firefox Opera Safari Samsung
YesYesXYesXYes