href-textPath-element-ref.html (584B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>href - textPath element reference</title> 4 <body> 5 <svg width="100%" height="100%" viewBox="0 0 1000 300" 6 xmlns:xlink="http://www.w3.org/1999/xlink"> 7 <defs> 8 <path id="MyPath" 9 d="M 100 200 10 C 200 100 300 0 400 100 11 C 500 200 600 300 700 200 12 C 800 100 900 100 900 100" /> 13 </defs> 14 <text font-family="Verdana" font-size="40"> 15 <textPath xlink:href="#MyPath"> 16 We go up, then we go down, then up again 17 </textPath> 18 </text> 19 </svg> 20 </body>