Global Attributes in HTML

Attribute Value Description
accesskey shortcut_key Accesskey attribute specifies a shortcut key to activate/focus an element
class class_name Specifies a class name or space-separated list of class names to an element
contenteditable true
Specifies whether the content of an element is editable by the user or not
contextmenu menu_id Defines the id for the <menu> element which is used as a context menu for an element
data-* data Used to store custom data private to the page or application
dir rtl
Specifies the direction of the content inside the current element
draggable true
Specifies whether the content within an element is movable or not using Drag and Drop API
dropzone copy
Specifies whether the dragged data is copied, moved, or linked, when dropped
hidden hidden Specifies that an element is not yet, or is no longer, relevant
id id Specifies a unique id for an element
lang language_code Specifies the primary language for the content of an element
spellcheck true
Specifies whether the content should be checked for spelling errors or not
style style Specifies inline style information for an element
tabindex number Specifies the tabbing order of an element
title text Used to provide the title, name, or some extra information about the element
translate yes
Specifies whether the content of an element should be translated or not

Advertise With Us

We offer sponsored posts and guest posts with do-follow links, back-links, and other advertising services, To advertise email us at ""

© 2021 GDATAMART.COM (All Rights Reserved)