Why <canvas> is used? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Why <canvas> is used?

8th Jun 2016, 7:16 AM
K M Rejowan Ahmmed
K M Rejowan Ahmmed - avatar
2 Answers
+ 1
No, canvas is not svg. Canvas is raster while svg is vector. Big difference. Also, canvas is just a surface where you can draw things. All the actual drawing on the canvas must be done with JavaScript.
8th Jun 2016, 3:01 PM
ZinC
ZinC - avatar
- 1
canvas tag is used to work with svg images
8th Jun 2016, 2:24 PM
Manas Srivastava
Manas Srivastava - avatar