HTML5 canvas

The <canvas> tag is used to draw graphics, on the fly, via scripting (usually JavaScript). The <canvas> tag is only a container for graphics, you must use a script to actually draw the graphics.


Other examples in Canvas (HTML5 Elements)
Result from the Online TryIt-Editor
chrome 1.5safari 5.0Firefox 1.0ie 9.0opera 9.0