Name |
Scalable Vector Graphics (SVG) |
File Extension |
.svg |
MIME Type |
image/svg+xml |
Description |
XML-based vector image format |
Version(s) |
SVG 1.0, SVG 1.1, SVG 1.2, SVG 2.0 (in development) |
Authoring Language |
XML (Extensible Markup Language) |
Purpose |
Scalable graphics for the web |
Image Elements |
Paths, lines, shapes, text, images, gradients, masks |
Animation |
Supports animations and interactivity |
Styling |
Styled with CSS or inline styles |
Text Support |
Full support for text rendering |
Compatibility |
Supported by modern web browsers |
Resolution |
Resolution-independent (vector graphics) |
Scalability |
Infinitely scalable without loss of quality |
Compression |
Compressible, may use GZIP compression |
Metadata |
Supports metadata like title, description, etc. |
Accessibility |
Can be made accessible with proper semantic markup |
Interactive Features |
Supports hyperlinks and JavaScript interactions |
Fonts |
Supports custom fonts using @font-face |
Filters and Effects |
Supports various filters and effects |
Export Formats |
Can be converted to other image formats (PNG, JPEG) |
Editing |
Can be edited with text editor or SVG-specific software |
Advantages |
Small file size, high quality, responsive design |
Disadvantages |
Complex for detailed images, not suitable for photos |