HTML Global Attributes
New
: HTML5 new attributes.
Attribute | Description |
---|---|
accesskey | Set keyboard shortcuts for accessing elements. |
class | Specifies the class name of the element (classname) |
contenteditableNew | Specifies whether the content of the element can be edited. |
contextmenuNew | Specifies the context menu of an element. When the user right-clicks the element, a context menu appears |
data-*New | Custom data for storing pages |
dir | Set the text direction of the content in the element. |
draggableNew | Specify whether an element can be dragged. |
dropzoneNew | Specify whether to copy, move, link, or delete data |
hiddenNew | The hidden attribute specifies that the element is hidden. |
id | Specifies the unique id of the element |
lang | Set the language code of the content in the element. |
spellcheckNew | Check if the element is misspelled |
style | Specifies the inline style of the element (inline style) |
tabindex | Set the tab key control order of the elements. |
title | Additional information about the specified element (can be displayed in the tooltip) |
translateNew | Specify whether the value of an element needs to be translated when the page loads |