onafterprint

Script to be run after the document is printed

onbeforeprint

Script to be run before the document is printed

onbeforeunload

Script to be run when the document is about to be unloaded

onerror

Script to be run when an error occurs

onhashchange

Script to be run when there has been changes to the anchor part of the a URL

onload

Fires after the page is finished loading

onmessage

Script to be run when the message is triggered

onoffline

Script to be run when the browser starts to work offline

ononline

Script to be run when the browser starts to work online

onpagehide

Script to be run when a user navigates away from a page

onpageshow

Script to be run when a user navigates to a page

onpopstate

"Script to be run when the windows history changes"

onresize

Fires when the browser window is resized

onstorage

Script to be run when a Web Storage area is updated

onunload

Fires once a page has unloaded (or the browser window has been closed)

onblur

Fires the moment that the element loses focus

onchange

Fires the moment when the value of the element is changed

oncontextmenu

Script to be run when a context menu is triggered

onfocus

Fires the moment when the element gets focus

oninput

Script to be run when an element gets user input

oninvalid

Script to be run when an element is invalid

onreset

Fires when the Reset button in a form is clicked

onsearch

Fires when the user writes something in a search field (for input="search")

onselect

Fires after some text has been selected in an element

onsubmit

Fires when a form is submitted