HTML5 canvas element creates rectangular area on your HTML5 webpage. It is defaulted at 350 by 150 pixels which can be reset to your own specifications. It is normally added to the page with the help of the following tag
The HTML5 canvas provides support for two dimensional operations. It is big improvement over what could have been done in the past with images and CSS.
In order to start using canvas you need to get its context first. You can then call and apply actions to this context. These actions are somewhat similar to creating a transaction. You need to do action first and then there is a commit phase at the end of the action.