Chapter 2. Document Structure in SVG

This chapter will introduce you to the permitted structure of SVG documents. It will also introduce you to several of the SVG elements. In later chapters, we will examine the other SVG elements; for example, in Chapter 3, “Basic SVG Elements and Shapes,” we will look at the SVG elements that provide the basic SVG graphic shapes.

SVG is an application language of XML; therefore, all general XML syntax rules apply to SVG documents. Some basic rules of XML syntax as they apply to SVG will be reviewed in the first ...

Get SVG Unleashed 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.