Search...

HTML Canvas

The HTML <canvas> element is used to draw graphics, on the fly, via JavaScript.

What is HTML Canvas?

The `<canvas>` element is only a container for graphics. You must use JavaScript to actually draw the graphics. Canvas has several methods for drawing paths, boxes, circles, text, and adding images.

Canvas Example
Result