<on...> Event attributesThe list of the event attributes include:
onabort attribute onbeforeonload attribute onbeforeunload attribute onblur attribute oncanplay attribute oncanplaythrough attribute onchange attribute onclick attribute oncontextmenu attribute oncopy attribute oncut attribute ondblclick attribute ondrag attribute ondragend attribute ondragenter attribute ondragleave attribute ondragover attribute ondragstart attribute ondrop attribute ondurationchange attribute onemptied attribute onended attribute On the body tag, the onerror attribute is a property of the document's window object. On other elements, the onerror attribute is a property of the HTML element itself.
onfocus attribute onformchange attribute onforminput attribute ongesturechange attribute ongestureend attribute ongesturestart attribute oninput attribute onkeydown attribute onkeypress attribute onkeyup attribute On the body tag, the onload attribute is a property of the document's window object. On other elements, the onload attribute is a property of the HTML element itself.
onloadeddata attribute onloadedmetadata attribute onloadstart attribute onmousedown attribute onmousemove attribute onmouseout attribute onmouseover attribute onmouseup attribute onmousewheel attribute onmove attribute onorientationchange attribute onpaste attribute onpause attribute onplay attribute onplaying attribute onprogress attribute onratechange attribute onreadystatechange attribute onreset attribute has been deprecated in HTML 5 and should not be used. onresize attribute onscroll attribute onseek attribute onseeking attribute onselect attribute onshow attribute onstalled attribute onsubmit attribute onsuspend attribute ontimeupdate attribute ontouchcancel attribute ontouchend attribute ontouchmove attribute ontouchstart attribute onunload attribute onvolumechange attribute onwaiting attribute
<span onclick="">...</span>
Home > HTML5 Attributes > event
Viewing mobile website page. Switch to WML or Full HTML