HOME HTML CSS JAVASCRIPT SQL PHP JQUERY XML ASP.NET MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

HTML dropzone Attribute

HTML Global Attributes HTML Global Attributes

Example

Dropping the data will result in a copy of the dragged data:

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


Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

The dropzone attribute is not currently supported in any of the major browsers.


Definition and Usage

The dropzone attribute specifies whether the 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">

Attribute Values

Value Description
copy Dropping the data will result in a copy of the dragged data
move Dropping the data will result in that the dragged data is moved to the new location
link Dropping the data will result in a link to the original data


HTML Global Attributes HTML Global Attributes

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates

SHARE THIS PAGE