What is Canvas?
Insert the code below into body tag of your page.
<canvas id="myCanvas" width="300" height="200" style="border:1px solid #c3c3c3;">
Update your browser
If it works fine in your browser then one rectangular window will come within canvas window .
· Canvas element create a canvas in browser’s window.
· Java script is used to draw something in canvas.
· You can use ct.arc(70,18,15,0,Math.PI*2,true); to generate a circle in canvas window.