Attribute: | Description: |
---|---|
accesskey | Allows you to set a key to activate or change the focus of an element |
class | Allows you to make an element part of one or more classes, especially for CSS styling. |
contenteditable | Specifies whether an element can be edited or not. |
data-* | Useful for storing data that's private to the page or application. |
dir | Specifies what direction the text in an element goes (i.e. LTR or RTL). |
draggable | Determines whether an element can be dragged around. |
hidden | Says that an element is no longer, or will not longer be relevant. |
id | Allows you to specify an identification for an element that will only be used for that one element and nothing else on the page. Can be used for CSS theming. |
lang | Determines the language of the document. |
spellcheck | Allows you to instruct the browser to perform spellchecking on the element. |
style | Allows you to use in-line CSS styling for the specific element. |
tabindex | Specifies the order that the elements will be highlighted in when a user uses the Tab button to navigate the page. |
title | Allows you to specify extra information about an element. It will appear as a tooltip when you mouse over the element. |
translate | Specifies if the content of the element should be allowed to be translated by a machine translator or not. |
Data obtained from W3Schools