What is the Canvas API In HTML5? HTML5 Tutorial
The <Canvas> element is the most important element introduced by HTML5. It creates a 2d Canvas API (Application Programming Interface) using JavaScript. The <canvas> element is only a container for graphics which is used to draw graphics, on the fly, via scripting. Canvas has several methods for drawing paths, boxes, circles, text, and adding images. The default size of the canvas is 300 x 150(width * length) but …