HTML CSS examples for SVG:Path
Create a triangle with path with SVG
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .my-svg path {<!-- ww w . java 2 s. co m--> fill: green; } </style> </head> <body> <svg class="my-svg" height="210" width="400"> <path d="M150 0 L75 200 L225 200 Z" /> </svg> </body> </html>