Edit This Code:
<!DOCTYPE html>
<html>
<body>

<p><strong>Note:</strong> This example does not work in Internet Explorer and Safari.</p>

<svg width="500" height="500">
  <g transform="translate(100,100)">
    <text id="TextElement" x="0" y="0" style="font-family:Verdana;font-size:24"> It's SVG!
      <animateMotion path="M 0 0 L 100 100" dur="5s" fill="freeze" />
    </text>
  </g>
  Sorry, your browser does not support inline SVG.  
</svg>

</body>
</html>


Result:
Try it Yourself - © w3schools.com
Privacy Policy