What Is SVG?

SVG is an XML application language that is intended to replace many uses of bitmap graphics on the Web and provide a vector graphics standard that is not vendor-specific (compare Microsoft’s VML) and that is open source (compare Macromedia’s Flash/SWF). SVG is written in XML-compliant syntax.

Version 1.0 of SVG became a W3C Recommendation in September 2001. At the time of this writing, version 1.1 of SVG is a W3C Candidate Recommendation (www.w3.org/TR/SVG11/) and will provide modularization of SVG so that SVG can be used on mobile browsers as well as on traditional desktop browsers.

SVG code is always well-formed SVG and can be validated against a publicly available DTD. SVG has elements for displaying text—text and tspan—as well ...

Get Sams Teach Yourself XML in 10 Minutes now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.