Comment: This article has compiled some new global attributes in HTML 5, which are very useful. Friends who are learning HTML 5 can refer to it.
NEW: New global properties in HTML 5.
Attribute description
accesskey specifies keyboard shortcuts for accessing elements
class specifies the class name of the element (used to specify the class in the style sheet).
contenteditable specifies whether users are allowed to edit content.
contextmenu specifies the context menu of the element.
dir specifies the text direction of the content in the element.
draggable specifies whether the user is allowed to drag elements.
dropzone specifies what happens when the dragged item/data is dragged into an element.
hidden stipulates that the element is irrelevant. Hidden elements will not be displayed.
id specifies the unique ID of the element.
lang specifies the language code of the content in the element.
spellcheck specifies whether elements must be spelled or grammatical checked.
style specifies the inline style of the element.
tabindex specifies the order of the tab key control of the element.
The title specifies additional information about the element.