What are the new global properties in HTML5
This article mainly introduces what the new global attributes in HTML5 are. It is very detailed and has certain reference value. Friends who are interested must read it!
New global properties in NEW:HTML5.
Attribute description
Accesskey specifies keyboard shortcuts to access elements
Class specifies the class name of the element (used to specify the class in the stylesheet).
Contenteditable specifies whether users are allowed to edit content.
Contextmenu specifies the context menu for the element.
Dir specifies the text orientation of the content in the element.
Draggable specifies whether users are allowed to drag elements.
Dropzone specifies what happens when the dragged item / data is dragged and dropped into the element.
Hidden states that this element is irrelevant. Hidden elements are not displayed.
Id specifies the unique ID of the element.
Lang specifies the language code for the content in the element.
Spellcheck specifies whether elements must be checked for spelling or grammar.
Style specifies the inline style of the element.
Tabindex specifies the tab control order of the elements.
Title specifies additional information about the element.
The above is all the content of the article "what are the new global properties in HTML5?" Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!