O'Reilly logo

Sams Teach Yourself SVG in 24 Hours by Micah Laaker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Q&A

Q1: Why not simply paste the code of the linked SVG file within the master SVG document?
A1: You may encounter situations where the linked SVG documents are using a different DTD, competing class names, and so forth. In such cases, linking to the outside documents allows them to display according to their directions inside the new environment. Linking thus can save a significant amount of work on the part of the developer.
Q2:I've placed an unsupported image type in my SVG document and it still renders correctly. How is this possible?
A2: SVG viewers can support additional image formats. To remain SVG compliant, they must provide a basic level of JPEG, PNG, and SVG support. However, they are free to add support for other images.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required