Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the document</title> </head> <body> <canvas id="exampleCanvas" width="200" height="200" style="border:1px solid #dddddd;"> HTML5 canvas tag is not supported by your browser.. </canvas> <script> var c = document.getElementById("exampleCanvas"); var ctx = c.getContext("2d"); ctx.beginPath(); ctx.arc(100, 100, 60, 0, 2 * Math.PI); ctx.strokeStyle = '#009299'; ctx.stroke(); </script> </body> </html>