Posted On: Feb 22, 2018
To add canvas tag to our HTML document we need id, width and height. Below is the example how to write a basic canvas tag to your HTML document.
<canvas id="myFirstCanvas" width="100" height="100"> </canvas>
Never Miss an Articles from us.
The < !DOCTYPE> is an instruction to the web browser about what version of HTML the page is written in. AND The &l..