• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

SVG and HTML

Many examples in this book have shown SVG images in isolation, with the images simply displayed on their own in a Web browser that has the Adobe SVG Viewer, in a dedicated SVG viewer such as Batik, or in a multi-namespace XML browser such as X-Smiles. In day-to-day use of SVG, one of the things you are likely to want to do routinely with an SVG image is to embed it in an HTML or XHTML Web page. In the first part of this chapter, you look at how that basic task is carried out.

Displaying an SVG image might seem to be a straightforward task, but if you are aiming to achieve cross-browser display, you need to consider several factors, as the following discussion explains.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint