Format SVG (Scalable Vector Graphic) was developed in the late 90's to display vector graphics in Web sites. The basic idea behind it is the use of XML for describing the image. This made SVG very popular in the web graphics. Using css or java script, it's easy to change the XML description of an image. Accordingly, it is easy to make an animation or just change the color.
Based on this, you can identify the main advantages and disadvantages compared to other formats popular in the web graphics, such as png and gif.
Advantages:
- small size;
- Flexibility. With CSS, you can quickly change the graphics settings, such as the background color or the position of the logo on the page;
- ability to resize the image without changing the quality. This is a feature of vector graphics;
Disadvantages:
- A large file size if the object consists of a large number of small elements.
As you can see, there are very few shortcomings. ...