The element is only a container for graphics. The html element is used to draw graphics, on the fly, via javascript. Web here's the most straightforward way to create a drawing application with canvas: