Skip to Main Content
SVG for Web Developers
book

SVG for Web Developers

by Ellen Pearlman, Lorien House
December 2002
Beginner to intermediate content levelBeginner to intermediate
464 pages
8h 34m
English
Pearson
Content preview from SVG for Web Developers

SVG Document Structure

Well-Formed SVG

Imagine staring at your screen the way Michelangelo stared at the ceiling of the Sistine Chapel, Picasso at his canvas, or a tattoo artist at the skin of someone's back, ready to create great art with a touch of a brush or needle or a flourish of code. As any artist knows, before you apply the brush, you have to prepare the canvas, whether it's made of plaster or Pentium processors. In the case of SVG, that means you need to set up the proper document structure.

In Chapter 1, we looked at both an XML and an SVG document, so you've seen a bit of SVG code and its structure and syntax. To review:

Because SVG is based on XML, it follows XML structure and syntax rules. In particular, an SVG document must be ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Building Web Applications with SVG

Building Web Applications with SVG

Jon Frost David Dailey and Domenico Strazzullo
SVG Text Layout

SVG Text Layout

Amelia Bellamy-Royds, Kurt Cagle
Using SVG with CSS3 and HTML5

Using SVG with CSS3 and HTML5

Amelia Bellamy-Royds, Kurt Cagle, Dudley Storey

Publisher Resources

ISBN: 0131004999Purchase book