HTML draggable attribute
In this tutorial, we will learn about draggable attribute in HTML with the help of examples.
draggable attribute
The draggable attribute is used to specify whether an element is draggable or not.
Syntax
<a draggable = "true">......</a>
Attribute values
Value | Description |
---|---|
true | Used to specify that the element is draggable |
false | Used to specify that the element is not draggable |
auto | Used the default browser behaviour of the browser |
Next Tutorial
We hope that this tutorial helped you develop better understanding of the concept of draggable-attribute in HTML.
Keep Learning : )
In the next tutorial, you'll learn about HTML hidden
Attribute.