Breaking News

SVG Polygon: < polygon > element

The SVG <polygon> element is used to draw a polygon of various sizes. The attributes (x, y) represents the coordinates of each vertex of the polygon and each co-ordinate(X, Y) are separated by a white space.

Here is a simple example of SVG polygon element.

 Code

Output

 

 

Check Also

Applying Borders by Using Styles

Applying Borders by Using Styles InHTML5 You can also apply borders by using cascading style …