- All global attributes.
Structure of content on the web
Interfaces for building web applications
Scan a website for free
<abbr>
<acronym>
Deprecated
<aside>
<bdi>
<big>
Deprecated
<button>
<center>
Deprecated
<colgroup>
<del>
<dir>
Deprecated
<em>
<fencedframe>
Experimental
<font>
Deprecated
<frame>
Deprecated
<frameset>
Deprecated
<hgroup>
<iframe>
<kbd>
<link>
<marquee>
Deprecated
<nav>
<nobr>
Deprecated
<noembed>
Deprecated
<noframes>
Deprecated
<optgroup>
<param>
Deprecated
<plaintext>
Deprecated
<rb>
Deprecated
<rtc>
Deprecated
<script>
<slot>
<strike>
Deprecated
<summary>
<td>
<th>
<tr>
<tt>
Deprecated
<video>
<xmp>
Deprecated
anchor
Experimental
Non-standard
class
draggable
id
itemid
itemtype
popover
tabindex
virtualkeyboardpolicy
Experimental
<input type="color">
<input type="file">
<input type="number">
<input type="reset">
<input type="text">
The draggable
attribute may be applied to elements that strictly fall under the SVGs.
For more information about what namespace declarations look like, and what they do, see Namespace crash course.
draggable
can have the following values:
true
: the element can be dragged.false
: the element cannot be dragged.Warning:
This attribute is enumerated and not Boolean. A value of true
or false
is mandatory, and shorthand like <img draggable>
is forbidden. The correct usage is <img draggable="true">
.
If this attribute is not set, its default value is auto
, which means drag behavior is the default browser behavior: only text selections, images, and links can be dragged. For other elements, the event comprehensive example.
Specification |
---|
HTML # the-draggable-attribute |
BCD tables only load in the browser