<!-- Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ --> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="font: 16px sans-serif"> <path id="p" d="M 100,100 h 100"/> <text x="50" y="100">hello<tspan><textPath xlink:href="#p"> or not</textPath></tspan></text> </svg>