Horje
How to design HTML SVG Star | HTML SVG Graphics Code
How to design HTML SVG Star

Create HTML SVG Star


Example of HTML SVG Star

Follow the Example
index.html
Example: HTML
<svg width="300" height="200">
  <polygon points="100,10 40,198 190,78 10,78 160,198"
  style="fill:lime;stroke:purple;stroke-width:5;fill-rule:evenodd;" />
</svg>

Output should be:

Example of HTML SVG Star

Full Example of HTML SVG Star

Follow the Example
index.html
Example: HTML
<!DOCTYPE html>
<html>
<body>

<svg width="300" height="200">
  <polygon points="100,10 40,198 190,78 10,78 160,198"
  style="fill:lime;stroke:purple;stroke-width:5;fill-rule:evenodd;" />
Sorry, your browser does not support inline SVG.
</svg>
 
</body>
</html>

Output should be:

Full Example of HTML SVG Star



Read Full::
HTML SVG Graphics Code
Category:
HTML Code
Sub Category:
HTML SVG Graphics Code
Uploaded:
6 months ago
Uploaded by:
Admin
Views:
16

Related Articles
What is HTML SVG Graphics HTML SVG Graphics Code
How to create HTML <svg> Circle Element HTML SVG Graphics Code
How to create HTML SVG Rectangle HTML SVG Graphics Code
How to design HTML SVG Rounded Rectangle HTML SVG Graphics Code
How to design HTML SVG Star HTML SVG Graphics Code
How to design HTML SVG Logo HTML SVG Graphics Code
What are the Differences Between SVG and Canvas HTML SVG Graphics Code

Single Articles
Example of HTML SVG Star
Full Example of HTML SVG Star

Share on: