Key features introduced in html5.

Source: Internet
Author: User

Key features introduced in html5.

New Features Description
Accesskey Define shortcut keys for accessing elements through the keyboard
Contenteditable When this feature is set to true, the browser should allow users to edit the content of the element. Do not specify how to save the changed content
Contextmenu Define the DOM id of the menu element as the context menu defining the characteristics of the Calcium Element
Data-X Define User-Defined metadata that can be included in tags without worrying about conflicts between these metadata and current or future features. Using this type of feature can avoid common methods to create custom features or overload class features
Draggable When defining features, you can drag and drop elements and their content.
Hidden In HTML5, all elements can have the den feature, which indicates that the elements are irrelevant and not displayed. This feature is similar to the display feature of CSS when set to none.
Itemscope Feature to set an element as a microdata item
Itemid Creates a global identifier for the microdata item. This is an optional feature. If you use this feature, you must place it in the element that sets the itemscope and itemtype features. The feature value must be in URL format.
Itemprop This feature is used to provide a pair of name/value data for the microdata item. Any sub-tag containing the itemscope feature can set an itemprop feature to add a feature for this item.
Itemref This feature is used to specify which additional elements should be used to find name/value data pairs for content items. By default, you can only search for sub-elements that contain the itemscope feature. However, this feature is meaningless if the data is cross and only has one parent item. Here, the itemref feature can be set to search in a group of child elements separated by spaces. This feature is optional, but if you use it, you must place it in the element with the itemscope attribute set.
Itemtype This feature must be used in conjunction with the itemscope feature to define the global type of a microdata item. This is an option, but if it is used, it must be placed in the same element that sets the itemscope feature. This feature value must be in the URL format
Spellcheck This feature enables spelling checks on elements. However, not all elements need to set this feature, because it is meaningful for all editable elements only when browsing the page.
Tabindex Define the traversal sequence of elements when using the keyboard for navigation

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.