HTML TUTORIAL

List Of Important HTML Event Reference

HTML BG COLOR
Written by ikenna

List of important windows event attributes

EVENT EVENT DESCRIPTION
onerrorThis triggers and event when and error is encountered
onloadThis triggers an event when a page loads
onebeforeprintThis triggers an event before a document is printed
onfterprintThis triggers an event after a document is printed
onofflineThis triggers an event when a page goes offline
onmessageThis event is triggered when a message comes up
onpagehideThis event is triggered when a page goes hidden
onhaschangeThis triggers an event when a page is changed
onpageshowThis triggers an event when a page is shown
onredoThis triggers an event when a page is redone
onresizeThis triggers an event when a page is resized

List of Form Events

EVENT EVENT DESCRIPTION
oninputThis triggers and event when a user inputs data into an element
oninvalidThis triggers an event when an element goes invalid
oneblurThis triggers an event when a window goes blur
onchangeThis triggers an event after an element is changed
onfocusThis triggers an event when a window gets focused
onselectThis event is triggered when an element is selected
onresetThis event is triggered when an element gets reset
onsubmitThis triggers an event when a data is submitted
onformchangeThis triggers an event when a form is changed
onchangeThis triggers an event when a page is changed
oncontextmenuThis triggers an event when a context menu gets called  

List of Mouse Events

EVENT EVENT DESCRIPTION
onclickThis triggers and event when a mouse is clicked
ondblclickThis triggers an event when a mouse is double clicked
ondragThis triggers an event when an element is dragged
ondropThis triggers an event after an element is dropped
ondragoverThis triggers an event when an element is dragged over a target
ondragendThis event is triggered at the end of a drag
OnmousedownThis event is triggered when a mouse button is pressed down
onmouseupThis triggers an event when the mouse button is released
onscrollThis triggers an event when the scroll bar is scrolled with the mouse
onmouseoutThis triggers an event when the mouse pointer is pulled out from a target
onmousewheelThis triggers an event when a mouse wheel is pushed

reference: tutorial point

About the author

ikenna

Leave a Comment