svg draw rectangle code example
Example 1: svg rect
<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg">
<rect width="100" height="100" x="50" y="50"/>
</svg>
Example 2: svg rect
<rect width="100" height="100" x="50" y="50"/>
<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg">
<rect width="100" height="100" x="50" y="50"/>
</svg>
<rect width="100" height="100" x="50" y="50"/>