HTML – onabort Event
The onabort event fires when the loading of an audio/video file is aborted, but not due to error.
The onabort event fires when the loading of an audio/video file is aborted, but not due to error.
The onafterprint event fires when a page has started printing or once the print dialogue box has been closed.
The onbeforeprint event fires when a page is about to start printing or the dialogue box appears.
The onbeforeunload event fires when the user has made an action to leave the current page. Most browsers provide a default message.
The onblur event fires when a form field loses focus, and is often used with form validation. The onblur event is the opposite of the onfocus event.
The oncanplay event fires when the video has buffered enough for the browser to start playing the specified audio/video.
The oncanplaythrough event fires when the browser estimates it can play through the specified media without having to stop for buffering.
The onchange event fires when the value of the element is changed by the user and the element loses focus.
The onclick event fires when a user clicks their mouse while on an HTML element.
The oncontextmenu event fires when the user right-clicks on an element to open the context menu.
The oncopy event fires when the user copies the contents of an element or an image to their clipboard.
The oncuechange event defines a script to run when the cue changes in a track
element.
The oncut event fires when the user cuts the contents of an element or an image to their clipboard.
The ondblclick event fires when a user double clicks their mouse while on an HTML element.
The ondrag event fires when an element or text selection is being dragged via drag and drop.
The ondragend event fires when the user has finished dragging an element or text selection via drag and drop.
The ondragenter event fires when a draggable element or text selection enters a valid target where it can be dropped via drag and drop.
The ondragleave event fires when a draggable element or text selection leaves a valid drop target where it can be dropped via drag and drop.
The ondragover event fires when a draggable element or text selection is being dragged over a valid drop target via drag and drop.
The ondragstart event fires when the user starts to drag an element or text selection via drag and drop.