HTML and CSS Reference
Indicates that an element has received focus; namely, it has been
selected for manipulation or data entry.
Fires when any element of the form changes.
Fires when input is made in a form element.
Fires when the URL's hash identifier value changes. Changing this value is
commonly performed in Ajax applications to indicate a state change and
support browser back-button activity.
Fires when input is made to form elements.
Fires when a form field is specified as invalid according to validation rules
set via HTML5 attributes such as pattern , min , and max .
Indicates that a key is being pressed down with focus on the element.
Describes the event of a key being pressed and released with focus on
Indicates that a key is being released with focus on the element.
Indicates the event of a window or frame set finishing the loading of a
Fires when the user agent can play back the media data at the current
play position for the first time.
Fires when the user agent has the media's metadata describing the
Fires when the user agent begins to fetch media data, which may include
the initial metadata.
Fires when a message hits an element. HTML5 defines a message
passing system between client and server as well as between documents
that this handler can monitor.
Indicates the press of a mouse button with focus on the element.
Indicates that the mouse has moved while over the element.
Indicates that the mouse has moved away from an element.
Indicates that the mouse has moved over an element.
Indicates the release of a mouse button with focus on the element.
Fires when the mouse wheel is used on the element or bubbles up from
some descendent element.
Fires when the user agent goes offline. Found only on the body element.
Fires when the user agent goes back online. Found only on the body
Fires when a page is suspended though not necessarily fully unloaded.
T ABLE 3-5 HTML5 Event Preview (continued)