SVG Stroke

link are used to provide availability of visiting one page to another page or one site to another site in web page. anchor tag in html are provides this facility. we can also create a link inside a SVG.

SVG Text Link example

Linked list Animation. BST Animation.
<h3>SVG Link Example</h3>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" >
  <a class="linkView" xlink:href="https://www.codelike.in/animation/linked-list">
    <text x="10" y="25" fill="blue" >Linked list Animation.</text>
  </a>
    <a class="linkView" xlink:href="https://www.codelike.in/animation/binary-search-tree">
    <text x="10" y="55" fill="firebrick" >BST Animation.</text>
  </a>
  <style>
  <![CDATA[

  .linkView{
  text-decoration: underline;
    cursor: pointer;
  }
  ]]>
     </style>
</svg>

© 2019, regularcodes.com, All rights reserved