$ 0 0 HTML5 Canvas is used to draw complex shapes and animations on fly with just few lines of codes. In this tutorial, you will learn - how to use HTML5 canvas tag to create basic shapes.