SVG Polyline element (original) (raw)

Last Updated : 7 Aug, 2020

The element of SVG in HTML is used to create a shape by connecting lines through different points. It is different from as it can be used to create open shapes.

Syntax:

Attributes:

Few examples are given below for a better understanding of the SVG element.

Example 1:

HTML `

Document polyline

polygon

`

Output:

Example 2:

HTML `

Document polyline

polygon

`

Output:

Supported Browsers: