How to draw rounded corners rectangle with SVG two-dimensional vector graphics in HTML

1 Answer

0 votes
<!DOCTYPE html> 
<html> 
<body> 
<svg width="500" height="500">    
   <rect x="20" y="20" width="180" height="140" rx="30" stroke="green" stroke-width="3" fill="red"/>
</svg>   
</body> 
</html>

 



answered Oct 8, 2019 by avibootz

Related questions

...