Create a SVG rounded rectangle

A simple example of creating a SVG rounded rectangle.
<!DOCTYPE HTML>
<html>
  <head>
    <style>
      body {
        margin: 0px;
        padding: 0px;
      }
    </style>
  </head>
  <body>

      <svg xmlns="http://www.w3.org/2000/svg" width="400px" height="400px">
         <rect x="24" y="24" rx="20" ry"=20" width="320" height="200" fill="red" stroke="black" stroke-width="3"/>
      </svg>

  </body>
</html>  

Responses

0 Replies