SVG is a language that uses XML to describe two-dimensional graphics and drawing programs.

SVG <polyline> syntax

The<polyline> element is used to create any shape with only straight lines

SVG <polyline> example

<!DOCTYPE html>
<html>
<body>

<svg xmlns="http://www.w3.org/2000/svg" version="1.1">
<polyline points="20,20 40,25 60,40 80,120 120,140 200,180" style="fill:none;stroke:black;stroke-width:3" />
</svg>

</body>
</html>

Run Instance»

Click "Run Instance" " button to view online examples