HTML

HTML Intro

HTML Intro Quiz

HTML Intro Exercise

HTML Basics

HTML Basic Quiz

HTML Basic Exercise

HTML Advance

HTML Advance Quiz

HTML Advance Exercise

HTML Tags List

HTML Global Attributes

HTML Attributes

FAQs

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

All Sections related to HTML