HTML draggable Attribute
This draggable attribute when set to element allows the content inside it to be easily drag and drop with other elements.
Using HTML draggable Attribute
Here is an example to this HTML attribute
Try dragging this text paragraph into above box and see the results.
Different attribute values that are available
- True : This value when written allows the elements to be draggable.
- False : This value specifies that elements are not draggable.
- Auto : This auto value specifies the default behavior of the browser.