How to use svg in HTML5 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How to use svg in HTML5

29th Nov 2017, 1:07 PM
Shubham Kumar
Shubham Kumar - avatar
5 Answers
+ 28
Maybe you wanted to ask "How to use svg in HTML5"? Every web developer knows how to use it. Check out the HTML course. It has lessons about how to use it.
29th Nov 2017, 1:13 PM
Igor Makarsky
Igor Makarsky - avatar
+ 5
use svg tag first then start with the shape u want to animate <svg width="140px" Height="120px"> <rect> ...codes</rect> </svg>
29th Nov 2017, 1:15 PM
Android Boi
Android Boi - avatar
+ 4
<svg width="144px" Height="120px"> <rect> ...codes</rect> </svg>
29th Nov 2017, 1:21 PM
Shubham Kumar
Shubham Kumar - avatar
+ 4
<svg width="2000" height="2000"> <rect width="300" height="100" x="20" y="20" fill="green" /> </svg> <!--like thos bro-->
29th Nov 2017, 1:33 PM
Android Boi
Android Boi - avatar
+ 3
use svg tag first then start with the shape u want to animate <svg width="140px" Height="120px"> <rect> ...codes</rect> </svg
30th Nov 2017, 6:12 PM
Shehroz Waheed
Shehroz Waheed - avatar