HTML5 allows you to make animation and game (not as powerful as flash yet) in-browser throught the canvas element.
In this tutorial, we’re going to see : how to use the canvas element

http://mattutyson.comze.com/html5-canvas/