![Trending Articles on Technical and Non Technical topics](/images/trending_categories.jpeg)
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How to set whether the dragged data is copied, moved, or linked, when dropped in HTML?
Use the dropzone attribute to set whether the dragged data is copied, moved or linked.
- Copy − The drop will create a copy of the dragged element.
- Move − The dragged element will get moved to the new location.
- Link − It creates a link to the dragged data
Try the following to work with dropzone attribute in JavaScript −
<div dropzone="copy"> </div>
None of the browsers supports this attribute now.
Advertisements