HTML5 Canvas

  • Allows to render 2D shapes or graphics on web page with help of JavaScript.
  • Allows creating animation.

<canvas id="myCanvas" width="200" height="200"></canvas>
    var c=document.getElementById("myCanvas");
    var ctx=c.getContext("2d");

About the Author

aditya bajaj
Music and Blogging get my love.

Be the first to comment on "HTML5 Canvas"

Leave a comment

Your email address will not be published.