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

NameTypeDescription
draggablekeywordDisables 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>
HTML Reference