SVG is a language that uses XML to describe two-dimensional graphics and drawing programs.
SVG <polygon> syntax
The<polygon> tag is used to create shapes with at least three sides.
SVG <polygon> example
<!DOCTYPE html> <html> <body> <svg xmlns="http://www.w3.org/2000/svg" version="1.1"> <polygon points="200,10 250,190 160,210" style="fill:lime;stroke:purple;stroke-width:1" /> </svg> </body> </html>
Run Instance»
Click "Run Instance" " button to view online examples