The below HTML attributes are what we call common and can be used with most HTML tags.
Core Attributes
- id
- class
- title
- style
Language Attributes
- dir
- lang
Keyboard Attributes
- accesskey
- tabindex
Event Attributes
The below attributes require javascript to be enabled by the user. Many of them are not commonly used, however are available.
- onclick
- ondblclick
- onmousedown
- onmouseup
- onmouseover
- onmousemove
- onmouseout
- onkeypress
- onkeydown
- onkeyup