Scalable Vector Graphics (SVG)
Definition
SVG describes scalable two-dimensional graphics in a text-based format for the web.
SVG is an XML-based format for two-dimensional vector graphics. Shapes, lines, and texts are described rather than stored solely as a fixed pixel grid. SVG can be styled and interactively modified with web technologies.
Simply explained
A circle is described as a circle, not as a collection of colored squares. Therefore, its outline remains crisp even when enlarged.
Why it matters in practice
Logos, symbols, and diagrams can be used in various sizes and adapted to the appearance of a website if needed.
Example from business
Possible example: A company uses the same SVG logo in the mobile navigation and in the larger header area of its website.
Limits and pitfalls
- Embedded raster images do not automatically become sharper through SVG. External SVG files can contain active content and should be checked before direct embedding.
Origin & history
SVG was developed as an open web standard. The W3C has been working on the specification for scalable graphics since 1999.
Use in mid-sized companies
- For logos and simple illustrations, vector files can be exported as SVG, checked for unnecessary content, and embedded with appropriate alternative texts.
Frequently asked questions
Is SVG suitable for every image?
No. Raster formats are usually more suitable for photos; SVG shows its strengths with shapes, lines, and text graphics.
Sources
- o. J., SVG · MDN Web Docs, o. J., SVG
Editorially reviewed on: