Which on is better SVG or Canvas in HTML5 for building a website? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 7

Which on is better SVG or Canvas in HTML5 for building a website?

3rd Mar 2019, 3:58 AM
Ashikul Islam
Ashikul Islam - avatar
6 Answers
+ 17
For non-moving graphics, and small icons: SVG For animations, games, charts, maps, or detailed icons: <canvas>
3rd Mar 2019, 4:08 AM
Rowsej
Rowsej - avatar
+ 12
Ramdan Ahmed Thanks for marking my answer as best! You made me go to Platinum status!!
3rd Mar 2019, 4:10 AM
Rowsej
Rowsej - avatar
+ 5
Congratulations Rowsej on platinum 😀!
4th Mar 2019, 1:33 AM
Sonic
Sonic - avatar
+ 1
Am new but am learn through you
4th Mar 2019, 9:49 AM
Levison
Levison - avatar
+ 1
Reducing SVG to non-moving graphics or small icons is not necessarily right, you can make graphics, charts or application interfaces business, with the help of Snap SVG js for example ...
4th Mar 2019, 10:32 AM
Laurent Métayer
Laurent Métayer - avatar
+ 1
According to my research it shows that svg has an attribute <animatei>
4th Mar 2019, 11:28 AM
Levison
Levison - avatar