New global attributes in HTML5 (sorting)

Source: Internet
Author: User

Comments: This article lists some new global attributes in HTML 5, which are very useful. For more information about html5, see

NEW: the NEW Global attribute in HTML 5.

Attribute Description
Accesskey Specifies the keyboard shortcut for the access element
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 an element.
Dir Specifies the text direction of the content in the element.
Draggable Specifies whether to allow users to drag elements.
Dropzone Specifies what happens when the dragged Project/data is dragged to an element.
Hidden This element is not required. Hidden elements are not displayed.
Id The unique ID of the specified element.
Lang Specifies the language code of the content in the element.
Spellcheck Specifies whether spelling or syntax checks must be performed on elements.
Style Specifies the row style of the element.
Tabindex Specifies the order of the element's tab key control.
Title Specifies additional information about the element.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.