Professional Documents
Culture Documents
HTML Events
HTML Events
HTML Events
The HTML5 event attributes are global and can be applied to most of the elements.
Window Events
Events related to the window object (applies to the <body> tag):
Form Events
Events that occur due to the user interacting with the HTML form controls.
Mouse Events
Events that occur due to the user interacting with a pointing device such as a mouse:
Keyboard Events
Events that occur by the user interaction with the keyboard:
Media Events
Events that occur when handling media elements that are embedded inside the HTML documents,
such as <audio> and <video> elements: