SVG(Scalable Vector Graphics), is an XML-based two-dimensional vector graphics format.

Scalable Vector Graphics (SVG) is a markup language for describing two-dimensional images, animations, and applications, and a set of related graphics script interfaces. It was originally an -based format, but can also be included inline in using HTML parsing rules.

The current version is SVG 1.1; version 1.2 is under development as a profile of SVG Tiny.

Sample

SVG file

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 120 200 200">
  <style>
    circle { fill: fuchsia; stroke: black; stroke-width:2 }
    text { font: 12pt sans-serif }
  </style>
  <circle cx="30" cy="20" r="10"/>
  <text x="10" y="40" transform="rotate(15)">Rotated text</text>
</svg>​

Rendered result

Example SVG Scene

Useful links

original definition from stackoverflow.com

history | excerpt history