O'Reilly logo

Designing SVG Web Graphics by Andrew H. Watt

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

Some Basic SVG Elements

Chapter 3 describes the SVG elements that define basic graphical shapes—such as a rectangle and circle, as shown in previous examples— that directly create a visual appearance onscreen. First, this section describes a number of other SVG elements that are not necessarily immediately visible onscreen but that are useful nonetheless.

The SVG <a> element, which functions similarly to the HTML/XHTML <a> element, is considered in Chapter 5, “Creating Navigation Bars.”

The <desc> element

SVG container or graphics elements can contain a text-only description contained within a <desc> element. This description provides the opportunity to document a whole SVG document or image, or part of it, thus facilitating maintenance.

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