Global Event Attributes

The event attributes listed below are standard, and are supported by most HTML and XHTML tags. HTML 4 added the ability to let events trigger actions in a browser, like starting JavaScript when a user clicks on an element.

Content Events
Only used in  and   elements.

Form Events
Only used in  elements.

Image Events
Only used in  elements.

Keyboard Events
Useless in,  ,  ,  ,  ,  ,  ,  ,  ,  ,  ,  , and.

Mouse Events
Useless in,  ,  ,  ,  ,  ,  ,  ,  ,  ,  ,  , and.