My Blog List

Saturday, November 9, 2019

code for creating a star using svg in html5

This is the code for creating a simple logic for display the star shape using a svg element in html5.

<html>
<head><title>star</title></head>
<svg height="400" width="400"">
<polygon points="100,10,40,198,190,78,10,78,160,198" fill="red"/>
</svg>
</html>





output

No comments:

Post a Comment

Multiple Inheritance in C++.

     In this tutorial Multiple Inheritance in c++. On the basis of Inheritance concept the another type of inheritance is the Multiple I...