0
why width and height in svg and how they can be used???
in rectangle method <svg width=" 2000" height="2000"> < rect width= " 200 height = " 200" x= "20" y =" 20" fill = "green"/> </svg>
2 Answers
+ 2
The width and height attributes on the SVG element define the size of the container for rect.
https://www.w3schools.com/html/html5_svg.asp
+ 1
thanks