canvas

< html‎ | elements(Redirected from canvas)
Jump to: navigation, search

canvas

This article is In Progress.


W3C Working Draft

Summary

The canvas element (<canvas>) provides scripts with a resolution-dependent bitmap canvas, which can be used for rendering graphs, game graphics, or other visual images on the fly. The canvas element is one of the most important elements introduced in HTML5.


Overview Table

DOM Interface HTMLCanvasElement


Compatibility

Do you think this data can be improved? You can ask to add by opening an issue or make a pull request.

Desktop

FeaturesChromeFirefoxInternet ExplorerOperaSafari
Basic support
1.0
Yes
?
Unknown
9.0
Yes
?
Unknown
?
Unknown

Mobile

FeaturesAndroidFirefox MobileIE MobileOpera MobileSafari Mobile
Basic support
?
Unknown
1.0
Yes
?
Unknown
?
Unknown
1.0
Yes

Examples

HTML

<canvas width="800" height="600"></canvas>

Usage

The canvas api is a useful resource for working with the canvas element.



See also

Related articles

Canvas


  • canvas