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 bother deleting hidden layers from an Illustrator file before exporting it as an SVG document?
A1: Although it is true that an end-user viewing your SVG in a viewer will not see any artwork that was hidden in Illustrator, there are several reasons to delete this data beforehand. First, excess data that will not be displayed results in extra download and loading time, which users will likely not appreciate, for negligible content. Second, that hidden content can be made visible if a user modifies your code. If the layer was hidden for privacy reasons, you will be sorely surprised when users extract information that wasn't intended for them.

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