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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.