New Attributes


HTML5 Examples

Html5 attributes are help to improve the quality of web development in more easy and simple way. Attributes are only be specified within start tags and must never be used in end tags.

Html5 attributes are case insensitive and can be written in all uppercase, mixed case or the most common convention is to stick with lowercase.

contenteditableSpecifies the content of an element is editable or not.
contextmenuSpecifies a context menu for an element. It will appears when a user right-clicks on the element.
data-*Used to store custom data private to the page or application.
draggableSpecifies an element, which is draggable or not.
dropzoneSpecifies whether the dragged data is copied, moved, or linked, when dropped.
hiddenSpecifies that an element as hidden.
spellcheckSpecifies the element, which is have to checked spelling and grammar or not.
translateSpecifies the content of an element, which should be translated or not.