What are HTML global attributes (global attributes)?
accesskey: set a shortcut key to provide quick access to elements such as aaa in firefox under windows, press alt + shift + a to activate the element
Class: Set the class identifier for the element, separate multiple class names with spaces, CSS and JavaScript can get the element through the class attribute
contenteditable: Specifies whether the element content is editable
contextmenu: Customize the content of the right mouse button pop-up menu
data-*: add custom attributes to elements
dir: set the element text direction
draggable: Set whether the element is draggable
dropzone: set element drag and drop type: copy, move, link
hidden: Indicates whether an element is associated with the document. The style will cause the element not to be displayed, but this attribute cannot be used to achieve the style effect
id: element id, unique within the document
lang: the language of the element content
spellcheck: whether to enable spelling and grammar checking
style: inline css style
tabindex: Set the element to get the focus and navigate through the tab
title: suggested information about the element
translate: Whether the content of the element and descendant nodes needs to be localized