HTML5: Working with the canvas element
The Canvas <canvas> element allows for a dynamic rendering of bitmap images and 2D shapes onto web pages such as color fill backgrounds, gradient and pattern displays, rendering of text, pixel manipulations, animations, and other visual objects on the fly; therefore, the canvas element becomes a simple pixel-based drawing API tool.
Current browsers which support the HTML5 specification for the canvas element are: IE 9.0+, Safari 3.0+, Firefox 3.0+, Chrome 3.0+, Opera 10.0+, iOS 1.0+, and Android 1.0+.
This is the canvas element in its simplest form:
<canvas id="canvas" width=300" height="150"></canvas>
- Quick tip: Establishing rules for publishing on the web
- Quick tip: Measuring user satisfaction