image

© Risto Viita/Shutterstock

chapter21

Introducing the HTML 5 Canvas

ACROSS THE WEB, USERS expect webpage interactivity. For years, Web developers turned to Flash-based animations to provide such interactions. Unfortunately, not all browsers supported Flash—most specifically, those browsers running on the popular iPad and iPhone. This chapter introduces the HTML 5 canvas, which provides a region on the page where you can display text, graphics, and animations by using JavaScript programming. The canvas is ideal for dynamic content such as charts, graphs, and animations.

Learning Objectives

This chapter will introduce you to working with the HTML ...

Get Introduction to Web Development Using HTML 5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.