What is the purpose of the canvas element?
What is the purpose of the canvas element? Correct Answer Creates drawing surface & Exposes powerful drawing API to client-side JavaScript
The HTML canvas element is used to draw graphics, on the fly, via JavaScript. The canvas element is only a container for graphics. The canvas element has no appearance of its own but creates a drawing surface within the document and exposes a powerful drawing API to client-side JavaScript.