Get the App
SLTechnology News&Howtos  ›  Development  › 

What are the new global properties in HTML5

Shulou Source: shulou.com Published: 2022-06-01 10:46:34 10月03日 Update

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!

Tags: Elements content attributes global Zhongxin styles users articles context code value information interests guys buddies shortcuts data text direction Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information Huawei vpn Docker macOS