If you’re new to WHATWG canvas, it’s just a new HTML element which is done using the <canvas></canvas> tag pair within your web page, and only the Gecko 1.8 browsers support it such as Firefox version is 1.5 and above. And the WHATWG canvas is part of the specs in HTML 5.
To start with a canvas on your web page, you could just put the following code
<canvas id=”tut” width=”150″ height=”150″></canvas>
Pretty similar to the IMG tag but the canvas needn’t you to specify the SRC. Find out more here about how to do a canvas