top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

What is SVG and advantages of SVG?

0 votes
What is SVG and advantages of SVG?
posted Nov 23, 2015 by Sathaybama

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

SVG is a language for describing two-dimensional vector graphics in XML.

SVG stands for Scalable Vector Graphics
SVG is used to define vector-based graphics for the Web
SVG defines the graphics in XML format
SVG graphics do NOT lose any quality if they are zoomed or resized
Every element and every attribute in SVG files can be animated
SVG is a W3C recommendation

Code Example:

<?xml version=”1.0″ standalone=”no”?>
<!DOCTYPE svg PUBLIC “-//W3C//DTD SVG 1.1//EN”

<svg xmlns=”; version=”1.1″>
<circle cx=”100″ cy=”50″ r=”40″ stroke=”black”
stroke-width=”2″ fill=”red” />


Advantages of using SVG over other image formats (like JPEG and GIF) are:

SVG images can be created and edited with any text editor
SVG images can be searched, indexed, scripted, and compressed
SVG images are scalable
SVG images can be printed with high quality at any resolution
SVG images are zoomable (and the image can be zoomed without degradation)

answer Nov 23, 2015 by Shivaranjini
Similar Questions
+4 votes

Please explain with an example.

+4 votes

My xml link code

the tag is the link.

 <b>link 1</b><l href="#">description</l>

Css code

  font-style: italic;
  transition:all 0.4s;
  -webkit-transition:all 0.5s;

When I specify a width like 200px it works but when I put it to auto it doesn't so can somebody help me with solving this problem?

I have Jquery working on the page so if I need to solve the problem with Jquery that is no problem.

Contact Us
+91 9880187415
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Karnataka INDIA.