Web Technology I20795 marksCanvas element and drawing
What is canvas element? Write a HTML script to create a canvas field having id cv1 and draw a circle inside the canvas.
What is canvas element? Write a HTML script to create a canvas field having id cv1 and draw a circle inside the canvas. [5]
The <canvas element is an HTML5 element used to draw graphics on a web page using JavaScript. It acts as a drawing container (a rectangular area/field) on which graphics, shapes, images, animations, and other visual content can be rendered dynamically through scripting (usually JavaScript). Key P...