<!DOCTYPE html>
<svg xmlns="http://www.w3.org/2000/svg" font-size="100px">
<path id="path" d="M10,100h400" fill="none" stroke="blue"/>
<text fill="green" font-family="Arial" x="0.5"><textPath xlink:href="#path">Test</textPath></text>
</svg>
<!DOCTYPE html>
<svg xmlns="http://www.w3.org/2000/svg" font-size="100px">
<path id="path" d="M10,100h400" fill="none" stroke="blue"/>
<text fill="green" font-family="Arial" x="0.5"><textPath xlink:href="#path">Test</textPath></text>
</svg>