HTML5 <canvas> tag is used for creating graphics through scripting.
canvas tag is as follows,
1 | <canvas id="mycanvas1" width="500" height="500"></canvas> |
the id attribute is an essential thing used for scripting.
Example 1 :
HTML5 <canvas> tag is used for creating graphics through scripting.
canvas tag is as follows,
1 | <canvas id="mycanvas1" width="500" height="500"></canvas> |
the id attribute is an essential thing used for scripting.
Example 1 :