I don't understand about canvas in html. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

I don't understand about canvas in html.

i don't know how to use canvas in html5, and why just we are not using SVG?

5th May 2021, 3:57 PM
Harod Geremew
Harod Geremew - avatar
1 Answer
0
SVG -> 2D context. Its a XML document with its own syntax like HTML, to draw scalable vector images Canvas -> 3D context. Only accesible using javascript. Usually to make videogames or draw graphics
5th May 2021, 4:48 PM
David Ordás
David Ordás - avatar