How do you make html items draggable? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How do you make html items draggable?

For example if you want to make a particular image or object to be dragged from one position to another on the web. Are there any special tags?

29th Jan 2021, 9:17 PM
Samson Phiri
Samson Phiri - avatar
3 Answers
+ 5
There is drag and drop api if that helps! https://www.sololearn.com/learn/HTML/2214/?ref=app
29th Jan 2021, 9:20 PM
Abhay
Abhay - avatar
+ 2
But not works well in Android Try draggable attribute in pc
30th Jan 2021, 12:17 AM
Abhay
Abhay - avatar
+ 1
Use the draggable attribute.
29th Jan 2021, 9:46 PM
Sonic
Sonic - avatar