The HTML <canvas> element is used to draw graphics on a web page — such as shapes, lines, gradients, images, and text — using JavaScript.
The <canvas> element is a container for graphics. You must use JavaScript to actually draw on it. It is ideal for creating game graph.