X
HOME HTML5 CSS3 JAVASCRIPT SQL PHP5 JQUERY ANGULAR BOOTSTRAP3 XML MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

HTML dropzone Attribute


Example

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

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


Definition and Usage

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


Browser Support

Attribute
dropzone Not supported Not supported Not supported Not supported Not supported


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


Related Pages

HTML Tutorial: HTML Attributes

HTML Tutorial: HTML5 Drag and Drop



Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB HOSTING

UK Reseller Hosting

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates

SHARE THIS PAGE

facebook