HTMLCanvas

Parameters

AttributeDescription
heightSpecifies the canvas height
widthSpecifies the canvas width

Remarks

  • This tag is not compatible with versions of Internet Explorer less than 9. Check caniuse.com for browser compatibility.
  • canvas is only a container for graphics, and the actual drawing of graphics is done by JavaScript.

Related Examples

Basic Example