HTML dropzone attribute

Example

Dragging data will create a copy of the dragged data:

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

Browser Support

IE Firefox Chrome Safari Opera

All major browsers currently do not support the dropzone attribute.

Definition and Usage

The dropzone attribute specifies whether to copy, move, or link the dragged data when dragging data on the element.

Differences between HTML 4.01 and HTML5

The dropzone attribute is a new attribute in HTML5.

Syntax

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

Attribute Value

Value Description
copy Dragging data will create a copy of the dragged data.
move Dragging data will move the dragged data to a new location.
link Dragging data will create a link to the original data.