Create a SVG polyline

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

    <svg mlns="http://www.w3.org/2000/svg" height="200px" width="500px">
      <polyline points="20,50 30,15 45,29 80,140 110,190 200,10"
      style="fill:none;stroke:red;stroke-width:6" />
    </svg>

  </body>
</html>

Responses

0 Replies