Generated by DeepSeek V3.2| SVG | |
|---|---|
| Name | Scalable Vector Graphics |
| Extension | .svg, .svgz |
| Mime | image/svg+xml |
| Owner | World Wide Web Consortium |
| Released | 04 September 2001 |
| Latest release version | 2.0 |
| Latest release date | 15 September 2016 |
| Genre | Vector graphics |
| Container for | XML, ECMAScript, CSS |
| Extended from | XML |
| Standard | W3C Recommendation |
SVG. It is an XML-based markup language for describing two-dimensional vector graphics, both static and animated. The format is an open standard developed by the World Wide Web Consortium since 1998 and is widely supported in modern web browsers and graphics software. It allows for complex illustrations, charts, and interfaces that are resolution-independent and often smaller in file size than comparable raster graphics.
The primary advantage of the format is its scalability; images can be magnified infinitely without loss of quality, making it ideal for high-resolution displays, printing, and responsive web design. It is fundamentally a text-based format, meaning its code can be created and edited with a simple text editor, though it is more commonly authored using dedicated software like Adobe Illustrator, Inkscape, or CorelDRAW. As a World Wide Web Consortium recommendation, it integrates seamlessly with other web standards such as HTML, CSS, and the Document Object Model, allowing for dynamic, scriptable graphics. This integration has made it a cornerstone for data visualization libraries like D3.js and for creating interactive user interface elements.
An file is a plain text document containing elements defined by the XML specification, which describe shapes like paths, rectangles, circles, and text. These graphical elements can be styled using attributes or, more powerfully, with embedded or external Cascading Style Sheets to control properties like fill, stroke, and opacity. The format supports advanced features including gradients, patterns, clipping paths, masking, and filter effects similar to those found in Adobe Photoshop. For interactivity and animation, it can incorporate ECMAScript via the `