SVG Polygon | Create a polygon using svg | HTML5 Tutorial

Опубликовано: 08 Октябрь 2024
на канале: Knowledge Thrusters
4,638
39

The polygon element is used to create a graphic that contains at least three sides.

Polygons are made of straight lines, and the shape is "closed" (all the lines connect up).
The points attribute defines the x and y coordinates for each corner of the polygon

#html5 #knowledgethrusters