What's new? | Help | Directory | Sign in
Google
             
Search
for
Updated Sep 19, 2008 by pilgrim
Labels: about-html, is-html-element, from-whatwg
CanvasElement  
The canvas element represents a resolution-dependent bitmap canvas.

You are here: Home > HTML Reference > Elements > <canvas> element

Usage

HTML 5 says, "The canvas element can be used for rendering graphs, game graphics, or other visual images on the fly. Authors should not use the canvas element in a document when a more suitable element is available. For example, it is inappropriate to use a canvas element to render a page heading: if the desired presentation of the heading is graphically intense, it should be marked up using appropriate elements (typically h1) and then styled using CSS."

Attributes

Browser compatibility

Compatibility table legend

Test IE8 IE7 IE6 FF3 FF2 Saf3 Op9 Chrome
appears in DOM Y Y Y Y Y Y Y Y
applies style N Y Y Y Y Y Y Y

Further reading


Sign in to add a comment