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 |