HTML Global Attributes







googletag.cmd.push(function() { googletag.display('div-gpt-ad-1422003450156-2'); });




HTML Global Attributes



❮ Previous
Next ❯




HTML attributes give elements meaning and context.


The global attributes below can be used on any HTML element.




HTML Global Attributes


= Attribute added in HTML5.



































































AttributeDescription
accesskeySpecifies a shortcut key to activate/focus an element
classSpecifies one or more classnames for an element (refers to a class in a style sheet)
contenteditableSpecifies whether the content
of an element is editable or not
data-*Used to store custom data private to the page or application
dirSpecifies the text direction for the content in an element
draggableSpecifies whether an element is draggable or not
dropzoneSpecifies whether the dragged data is copied, moved, or linked, when dropped
hiddenSpecifies that an element is not yet, or is no longer, relevant
idSpecifies a unique id for an element
langSpecifies the language of the element's content
spellcheckSpecifies whether the element is to have its spelling and grammar checked or
not
styleSpecifies an inline CSS style for an element
tabindex Specifies the tabbing order of an element
titleSpecifies extra information about an element
translateSpecifies whether the content of an element should be translated or not




❮ Previous
Next ❯

Popular posts from this blog

Colors HSL

W3.CSS Downloads

W3.CSS Tables