You can get multiple information about programing.

What is SVG tag and How it is used in html? - Programming info

What is SVG tag and How it is used in html?



WHAT IS SVG IN HTML CODING?
  • SVG stands for Scalable Vector Graphic.
  • SVG tags is used in vector graphic technology. Here we can create 2D VECTOR BASE GRAPHIC.SVG has several paths for drawing such as, boxes, circles, text, and graphic images.
  • SVG images are shown in below figure.
  • example of svg tag
  • So we can say that SVG tag is used to create any shape.
  • HOW TO USE SVG TAG IN HTML?
    lets take example .Suppose we want to make circle in html by SVG tag .
    <html>
    <head>
    <title>
     what is SVG and how its use in html coding.
    </title>
    <body> cx means circle goes X-axis and cy means circle goes Y-axis. And R means the radius of the circle. Fill means the circle fill with which color such as blue or something else. Stroke means the boarder of the color .And stroke width means which width of the boarder color we require.
    <SVG>
    <CIRCLE CX="90" CY="90" R="45" FILL="BLUE" STROKE ="red" STROKE -WIDTH="5"/>
    </SVG>
    </body>
    </html>
    NOTE:
    You can briefly understand the knowledge of SVG TAG ,when you learn CSS.




    Next Post Previous Post