Event attributes are an important part of learning HTML. Nearly every HTML tag uses these attributes, so being familiar with them is a good idea. These are the attributes that control actions when there is an event that happens on your web page.
- onblur
- onchange
- onclick
- ondblclick
- onfocus
- onkeydown
- onkeypress
- onkeyup
- onload
- onmousedown
- onmousemove
- onmouseover
- onmouseout
- onmouseup
- onselect
- onsubmit
HTML 5 Attributes
HTML 5 gives us a bunch of new event attributes.
- onabort
- oncanplay
- oncanplaythrough
- oncontextmenu
- ondrag
- ondragend
- ondragenter
- ondragleave
- ondragstart
- ondrop
- ondurationchange
- onemptied
- onended
- onerror
- onformchange
- onforminput
- oninput
- oninvalid
- onloadeddata
- onloadedmetadata
- onloadstart
- onmousewheel
- onpause
- onplay
- onplaying
- onprogress
- onratechange
- onreadystatechange
- onscroll
- onseeked
- onseeking
- onshow
- onstalled
- onsuspend
- ontimeupdate
- onvolumechange
- onwaiting

