Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
0
To make an element draggable, set the draggable attribute to true: <img draggable="true"> The draggable global attribute is an enumerated attribute that indicates whether the element can be dragged, either with native browser behavior or the HTML Drag and Drop API. draggable can have the following values: true: the element can be dragged. false: the element cannot be dragged.
25th Dec 2019, 10:08 AM
Yoga
Yoga - avatar