YogenGhodke
1/16/2020 - 9:45 AM

Creating SVG Canvas

<canvas id="myCanvas"></canvas>         // Used to draw graphics via Javascript

<script>
var canvas = document.getElementById("myCanvas");
var ctx = canvas.getContext("2d");
ctx.fillStyle = "#FF0000";
ctx.fillRect(0, 0, 80, 80);
</script>