Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML dropzone Attribute

HTML dropzone Attribute

HTML Global Attributes HTML Global Attributes

Example

Dragging data results in a copy of the dragged data being created:


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

No major browser supports the dropzone attribute.


Definition and Usage

The dropzone attribute specifies whether dragged data is copied, moved, or linked when it is dropped on an element.


Differences between HTML 4.01 and HTML5

The dropzone attribute is new in HTML5.


Syntax

<

element

dropzone="copy|move|link">

HTML Global Attributes HTML Global Attributes