HTML Global Attributes
The global attributes listed in the table below can be used on any HTML element.
| Attribute | Value | Description | 
|---|---|---|
| accesskey | character | Specifies a keyboard shortcut to access an element | 
| class | classname | Specifies a classname for an element (used to specify a class in a style sheet) | 
| contenteditableHTML5 | true false | Specifies if the user is allowed to edit the content or not | 
| contextmenuHTML5 | menu_id | Specifies the context menu for an element | 
| dat-*HTML5 | somevalue | Used to store custom data private to the page or application | 
| dirHTML5 | ltr rtl | Specifies the text direction for the content in an element | 
| draggableHTML5 | true false auto | Specifies whether or not a user is allowed to drag an element | 
| dropzoneHTML5 | copy move link | Specifies whether the dragged data is copied, moved, or linked, when dropped | 
| hiddenHTML5 | hidden | Specifies that the element is not relevant. Hidden elements are not displayed | 
| id | id | Specifies a unique id for an element | 
| lang | lang_code | Specifies a language code for the content in an element | 
| spellcheckHTML5 | true false | Specifies if the element must have it's spelling or grammar checked | 
| style | style_def | Specifies an inline style for an element | 
| tabindex | number | Specifies the tab order of an element | 
| title | text | Specifies extra information about an element | 
| translate | yes no | Specifies whether the content of an element should be translated or not | 
