It defines additional feature of the element. All elements can have attributes each element have some unique attributes Attributes are always specified in the start tag it's name/value pairs like: name="value"
This will not work on other element
It can be used in all HTML elements class, id, title, lang, style
It will trigger actions based on user events, like click, load, close. It is actually a JavaScript.