| Attributes | Value | Description |
|---|---|---|
| onbeforeunload | Javascript | Script is run before the document is unloaded |
| onerror | Javascript | Script is run when any error occur |
| onafterprint | Javascript | Script is run after the document is printed |
| onstorage | Javascript | Script is run when web storage area is updated |
| onundo | Javascript | Script is run when document performs undo |
| onunload | Javascript | This Event browser window has been closed |
| onhaschange | Javascript | Script is run when document has changed |
| onload | Javascript | Event fires after the page loading finished |
| onmessage | Javascript | Script is run when document goes in offline |
| onoffline | Javascript | Script is run when document comes in online |
| onpagehide | Javascript | Script is run when document window is hidden |
| onbeforeprint | Javascript | Script is run before the document is printed |
| onredo | Javascript | Script is run when document perform redo |
| onresize | Javascript | Browser window is resized |
| onpageshow | Javascript | Script is run when document window become visible |
| onpopstate | Javascript | Script is run when document window history changes |
| Attributes | Value | Description |
|---|---|---|
| onsubmit | Javascript | Event fire when form is submitted |
| onselect | Javascript | Event fire after allow to select text in an element |
| onblur | Javascript | Event fire when element loses focus |
| onchange | Javascript | Event fire when element value is changed |
| oninvalid | Javascript | Event fire when element is invalid |
| oncontextmenu | Javascript | Event fire when context menu is triggered |
| onformchange | Javascript | Event fire when form changes |
| onforminput | Javascript | Event fire when form get input field |
| oninput | Javascript | Event fire when element get input field |
| onfocus | Javascript | Event fire when element gets focus |
| Attributes | Value | Description |
|---|---|---|
| onkeydown | Javascript | Event fire when pressing a key |
| onkeypress | Javascript | Event fire when press a key |
| onkeyup | Javascript | Event fire when releases a key |
| Attributes | Value | Description |
|---|---|---|
| onclick | Javascript | Event fire when mouse click on element |
| ondblclick | Javascript | Event fire when mouse double click on element |
| ondrag | Javascript | Script is run when element is dragged |
| ondragend | Javascript | Script is run at end of drag operation |
| ondragenter | Javascript | Script is run when element has dragged to a valid drop target |
| onmousedown | Javascript | Event fire when mouse button is pressed down on element |
| onmousemove | Javascript | Event fire when mouse pointer moves over an element |
| ondragleave | Javascript | Script is run when element leaves valid drop target |
| ondragover | Javascript | Script is run when element is dragged over on valid drop target |
| ondragstart | Javascript | Script is run at start of drag operation |
| onmouseover | Javascript | Event fire when mouse pointer moves over on element | onmousewheel | Javascript | Event fire when mouse wheel being rotated |
| onscroll | Javascript | Event fire when element scrollbar being scrolled |
| ondrop | Javascript | Script is run when dragged element is dropped |
| onmouseout | Javascript | Event fire when mouse pointer moves out an element |
| onmouseup | Javascript | Event fire when mouse button is released over an element |
| Attributes | Value | Description |
|---|---|---|
| onended | Javascript | Script is run when media has reach to end position |
| oncanplaythrough | Javascript | Script is run when file is played all way without pausing for buffering |
| ondurationchange | Javascript | Script is run when media length changes |
| onabort | Javascript | Script is run when element is abort |
| oncanplay | Javascript | Script is run when file is ready for start playing |
| onemptied | Javascript | Script is run when something unavailable/disconnects |
| onerror | Javascript | Script is run when error occurs file loaded time |
| onloadeddata | Javascript | Script is run when media is loaded |
| onloadedmetadata | Javascript | Script is run when meta data are loaded |
| onloadstart | Javascript | Script is run when file being loaded |
| onpause | Javascript | Script is run when media is paused |
| onplay | Javascript | Script is run when media is ready to start playing |
| ontimeupdate | Javascript | Script is run when playing position has changed |
| onvolumechange | Javascript | Script is run each time volume is changed |
| onwaiting | Javascript | Script is run when media has paused(for buffer more data) |
| onreadystatechange | Javascript | Script is run when ready state changes for each time |
| onseeked | Javascript | Script is run when seeking attribute value set to false, that indicate seeking has ended |
| onseeking | Javascript | Script is run when seeking attribute value set to true, that indicate seeking has active |
| onplaying | Javascript | Script is run when media is actually start for playing |
| onprogress | Javascript | Script is run when browser is process of getting media data |
| onratechange | Javascript | Script is run when playback rate changes |
| onsuspend | Javascript | Script is run when fetching media data is stopped before it is completely loaded for any reason |
| onstalled | Javascript | Script is run when browser is unable to fetch media data for any reason |