Standard properties in HTML 5

Source: Internet
Author: User
Tags unique id

HTML Global Properties

HTML attributes give the element meaning and context.

The following global properties are available for any HTML element.

(5) = attribute added in HTML5.

Properties Description
AccessKey Specifies the shortcut key for activating an element.
Class Specifies one or more class names for an element (referencing a class in a style sheet).
Contenteditable (5) Specifies whether the element content can be edited.
ContextMenu (5) The context menu for the specified element. The context menu is displayed when the user clicks on an element.
data-* (5) Private custom data that is used to store pages or applications.
Dir Specifies the text direction of the content in the element.
Draggable (5) Specifies whether the element can be dragged.
Dropzone (5) Specifies whether to copy, move, or link while dragging the data that is being dragged.
Hidden (5) The specified element is still not or is no longer relevant.
Id The unique ID of the specified element.
Lang The language that specifies the content of the element.
SpellCheck (5) Specifies whether to check spelling and grammar of elements.
Style The inline CSS style for the specified element.
TabIndex Specifies the tab order of the elements.
Title Specifies additional information about the element.
Translate (5) Specifies whether the element content should be translated.

Standard properties in HTML 5

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.