If you are interested in learning the basics of HTML5 Game Development using the Canvas, this book is packed with information and examples! I had originally chosen it for Chapter 5 which goes into methods of applying game physics like gravity, elasticity, friction, etc., but the book does an excellent job of covering all the fundamentals and then leading you through the development of games like Space Raiders, Geo Blaster, and Micro Tank. There is a lot of code and examples so you can get familiar with the fundamentals in smaller bits before you start wiring them up together into larger games.
Of course, there is a lot of information on drawing shapes, images, and text on the canvas as well as working with audio and video independent of creating games, but applying all of this knowledge to create games is really what kept me interested cover-to-cover.