Workshop
The Workshop is designed to help you anticipate possible questions, review what you've learned, and begin learning how to put your knowledge into practice.
Quiz
True or False: Netscape Communicator and Internet Explorer can both view SVG content without the help of a plug-in.
What is the acronym used to describe SVG's compressed file format?
Which element is used to insert an SVG file into an HTML document?
How many viewers currently support every feature in the SVG specification?
True or False: SVG can only be viewed within Web browsers.
Answers
False. Neither Netscape Navigator nor Microsoft Internet Explorer can view SVG content natively without a plug-in. Both browsers require an extension of some sort to view SVG content, and most extensions/plug-ins require version 4 and above browsers.
SVGZ is the shorthand acronym for SVG documents reduced in size with GZIP compression.
The embed element is used to call an SVG file into an HTML document
Currently, there are no SVG viewers that support every feature in the SVG specification.
False. SVG can only be viewed with an SVG viewer, which can exist as a standalone application or an extension of another application (such as a browser plug-in).
Exercises
Visit http://www.svgnow.com/ and check out some of the many examples. If you don't already have the Adobe SVG Viewer installed, notice how the page automatically redirects you to the Adobe site to download the plug-in right away. This is the same code you learned about at the end of this hour.
Download the Adobe SVG Viewer (http://www.adobe.com/svg/viewer/install/main.html), and install it on your computer. After installing the plug-in, visit the SVG in Action section (http://www.adobe.com/svg/demos/main.html) to see some amazing examples of SVG at work.
If you're really adventurous and have an Apache Web server, try installing the Batik package. Although not covered in this book, experimenting with Batik's various abilities to publish SVG content will reveal a wealth of oppor- tunities with SVG. More information on Batik can be found at http://xml.apache.org/batik/index.html.