HTML5 Canvas Tutorial
The canvas is employed to draw graphics using scripting.It is also used to draw graphs, make photo compositions or do simple animations. Almost all the browser support support the html canvas tutorial .
You can also create canvas, Basically it is a rectangular area on a HTML page which has attribute like- id, class, width, and height.
Example:
To make a border through canvas use style attributes.
Example:
Output:
Attribute Used:











