I am wondering if anybody knows if it is possible to create a data_target="..." or id="..." withing the hyperlink attribute. For example if i would like to hiperlink the text APPLE in the illustrator and save it as SVG so I can get a code like: <a xlink:href="*" data-target="apple"> APPLE </a> or change the xlink:href to ID/Data target, so it will read something like: <a data-target="apple"> APPLE </a>
I have multiple text to create a link on and if i will put those attributes (ID/Data target) manually I will spend too much time.
Thank you all so much, and hope you have a wonderful day! 🙂
Well, I am not the one who is creating the website, all what was required from me is an SVG with a proper layering system. All what I asked for is if anybody knows how to create SVG with <a id(or data-target, doesnt matter to me)="..."> attribute. I cannot discuss the project, but will tell that in some cases looking at SVG code, I create from that project, some <a> attributes had an id, and some of them not. However the layers and content/shapes were all alike. I've tried to reacreate it and it does nothing. So I believe I am missing something but can't figure out what exactly.
Simple hack will help me and developers cut on time, so yes, I'm just trying to help the team. If Illustrator creates <a id=".."> and if anybody knows how then it will be great.