How to create or draw a square using SVG in HTML?
Originally Published Here ๐!
To create a square, you can use the rect element inside the svg element in HTML.
TL;DR
<!-- Create square in SVG -->
<svg>
<rect x="0" y="0" width="30" height="30" />
</svg>
For example, to make a 30*30 (width and hei...
melvingeorge-me.hashnode.dev2 min read