<canvas>: The Graphics Canvas element
Read More at MDN DocsView SpecSafe to Use
<canvas>: The Graphics Canvas element
is considered safe to use.
It’s supported by 94% of global browsers.
Browsers
Version Breakdown
Full Support
Full Support
Full Support
Full Support
Before Firefox 5, the canvas width and height were signed integers instead of unsigned integers.
Before Firefox 6, a <canvas> element with a zero width or height would be rendered as if it had default dimensions.
Before Firefox 12, if JavaScript is disabled, the <canvas> element was being rendered instead of showing the fallback content as per the specification. Since then, the fallback content is rendered instead.
Full Support
Before Firefox 5, the canvas width and height were signed integers instead of unsigned integers.
Before Firefox 6, a <canvas> element with a zero width or height would be rendered as if it had default dimensions.
Before Firefox 12, if JavaScript is disabled, the <canvas> element was being rendered instead of showing the fallback content as per the specification. Since then, the fallback content is rendered instead.
Full Support
Full Support
Full Support
Full Support
Full Support
Although early versions of Apple's Safari browser don't require the closing tag, the specification indicates that it is required, so you should be sure to include it for broadest compatibility. Before version 2, Safari will render the content of the fallback in addition to the canvas itself unless you use CSS tricks to mask it.
Full Support
Full Support
Full Support