Global Attributes
draggable="false"
Disables native dragging of the element, including the default dragging of images and links. This does not disable text selection or all pointer interactions. Global enumerated attribute; omission or invalid value uses automatic behavior, so images and links may be draggable by default.
Formal Syntax & Structure
html syntaxhtml
draggable="false"Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| draggable | keyword | Disables native dragging of the element, including the default dragging of images and links. This does not disable text selection or all pointer interactions. |
Working Example
Example Snippethtml
<p draggable="false">Drag this text</p>