draggable Attributes
draggable Attribute
The draggable attribute defines whether an element is draggable or not. It is used in combination with drag and drop operations. Images and links are by default draggable.
Attribute Explanation:-
Value | Description |
---|---|
true | Specifies that the element is draggable |
false | Specifies that the element is not draggable |
auto | Uses the default behavior of the browser |
Syntax:-
Its syntax is:- < element draggable="true|false|auto" >
Code Explanation
All Tutorials related to HTML Global Attributes
accesskey Attribute
class Attribute
contenteditable Attribute
data-* Attributes
dir Attribute
draggable Attributes
hidden Attribute
id Attribute
lang Attribute
spellcheck Attribute
style Attribute
tabindex Attribute
title Attribute
translate Attribute