Logo
  Tuesday, July 22, 2014
Sign-In  |  Sign-Up  |  Contact Us  | Bookmark |  RSS Feed

HTML5 Tutorial FeedBurner

HTML5 event handlers  
JavaScript is powerful addition to HTML5. It is better understood if we look at JavaScript events and ways it handles events being fired as part of HTML5 web page.

For instance, events can be fired when HTML5 page loads for the first time or when user click on the button or canvas. JavaScript is smart enough to figure out event that was fired as a result of user action and will lunch a script that will perform action it is designed to do.

There is very definitive list of built-in functions in HTML5 that will recognize an event and trigger JavaScript to process this function call.

List o event function below is a complete set of event handlers available in HTML5.

onchange

onclick

ondbleclick

ondrag

ondragend

ondragenter

ondragleave

ondragover

ondragstart

ondrop

onkeydown

onkeypress

onkeyup

onmousedown

onmousemove

onmouseout

onmouseover

onmouseup

onmousewheel

onpause

onplay

onplaying

onprogress

onloadstart

onload

Print HTML5 event handlers Bookmark HTML5 event handlers

Related Articles  
HTML5 JavaScript boilerplate file
HTML5 is designed in mind to work with JavaScript natively. It is probably the most optimized version of HTML in ...
More