ZVON > References > Zvon Example Repository
Example repository: index | categories | search

All > SVG > Linking > Creating active links in SVG image

Use the element a. The target is specified using the attribute xlink:href.


Output
Output - picture
SVG version


Source
<svg width="100" height="30" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" >
     <a xlink:href="http://www.zvon.org" xlink:type="simple">
          <text font-family="SansSerif" x="0" y="20">Go to ZVON</text>
     </a>
</svg>