<!DOCTYPE html>
<head>
<title>SVG</title>
<meta charset="utf-8" />
</head>
<body>
<h2>Example HTML5 SVG Polygon</h2>
<svg id="svgelem" height="200">
<polygon points="20,10 300,20, 170,50" fill="red" /> </svg>
</body>
</html>This code snippet is for HTML5 SVG Polygon example Program.