SVG stands for Scalable Vector Graphics, translated into Spanish as Gráficos Vectoriales Escalables. It is an open and free file format for creating two-dimensional vector graphics. The SVG format is based on XML, Extensible Markup Language, which translates to Lenguaje de Marcado Extensible, a markup language designed to describe data. It does not use predefined tags as in the case of HTML, making it easy to process and use.
It allows for searching, indexing, producing scripts, or compressing, for example. Additionally, it can be generated and edited with a text editor or vector drawing tools. The SVG file format uses tree structures with tags, attributes, and elements to give a visual appearance to the data.
Among the advantages of using this type of format, the following are the most notable.
- SVG is an open standard, so it supports improvements and updates.
- SVG files can be created and edited with text editors and vector image editing programs.
- They can be searched and indexed on a website.
- They are very lightweight, less than PNG and JPG formats.
- They can be optimized and compressed.
- They can be scaled without losing quality.
- They display perfectly on any device.
- They can be printed at any resolution without losing quality.
- Images are generated by the browser, which reduces load and resource consumption on hosting.
- It allows for the creation of text that can be selected, copied, and indexed.
- It allows for the creation of animations by combining SVG with CSS or JavaScript.
- It allows for the creation of interactive versions.