9

Is it possible to add a hyperlink to an object or a layer within Illustrator CS6 for a later SVG export?

I know about the possibility to manually edit the exported file and wrap elements with an <a> tag. But this complicates subsequent changes. It would be better to have solution that is integrated in Illustrator.

16

It's possible.

  • Select your object
  • Call "Attributes panel" Cmd/Ctrl + F11
  • In dropdown "Image input" select "Polygon"
  • Paste your link in input "URL"
  • Save as SVG
  • Check in browser
  • Profit

enter image description here

| improve this answer | |
  • I feel like the last step is the most overlooked :) – Resist Design Mar 24 '17 at 4:27
  • 2
    CC2018 Export to SVG. XML doesn't contain anything about the hyperlinks I created on some rectangles – dstonek Jul 14 '18 at 18:17
  • @dstonek, I had the same issue when I used 'Export As'. However, when you use 'Save As', the links work. I just edited the instruction in this Answer. – Sygmoral Jul 7 at 8:25

Not the answer you're looking for? Browse other questions tagged or ask your own question.