Also see my notes on Javascript.

Creating games with HTML5

The canvas element introduced in the (proposed) HTML 5 standard makes JavaScript and the HTML canvas element a viable alternative to browser plug-in platforms like Flash.

A number of JavaScript game engines/libraries exist. Here, we use the 2D game engine Quintus. Quintus has a lot of features, good documentation and examples, and a relatively small file size.