SVG Polyline is used to draw polylines on webpage, it uses <polyline> element to draw a polylines. Polyline has some attributes such as points, stroke, stroke-width, fill etc. These attributes help polyline to draw a polylines on a page.
<polyline points="values" stroke="color" fill="color">
</polygon>
You can define one or more than one SVG polylines in a document.
Stroke width attribute is used to make stroke thick and bold, it takes value in number.
<polyline points="values" stroke="color" stroke-width="value" fill="color">
</polyline>
You can define one or more than one attributes in SVG polyline.
You can use SVG polyline any where within an HTML document.
Open notepad or any other text editor, follow the following points.
save file with name task.html or task.htm and then open it using any browser and see results.