• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 16. Animating SVG with Scripting > HTML and SVG Interaction

HTML and SVG Interaction

If you know JavaScript, you probably know how to change HTML content—from within HTML (or embedded script code). In this chapter, we go over the border and access HTML data from within SVG and vice versa.

From SVG to HTML

In JavaScript terms, the most important objects for accessing HTML data are the following two:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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