Horje
HTML draggable Attribute

Definition and Usage

The draggable attribute specifies whether an element is draggable or not.

Tip: Links and images are draggable by default.

Tip: The draggable attribute is often used in drag and drop operations. Read our HTML Drag and Drop tutorial to learn more.


Applies to

The draggable attribute is a Global Attribute, and can be used on any HTML element.

Element Attribute
All HTML elements draggable

Browser Support

The numbers in the table specify the first browser version that fully supports the attribute.


How to add A draggable paragraph

 <p draggable="true">This is a draggable paragraph.</p> 

Output should be:

How to add A draggable paragraph




html draggable attribute

Type:
Develop
Category:
Web Tutorial
Sub Category:
HTML Attribute
Uploaded by:
Admin


Read Article
https://develop.horje.com/learn/1434/reference