<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="800" height="600"> | |
<defs> | |
<path id="tp" d="M8,30h400"/> | |
<style> | |
textPath { font: 24px sans-serif; outline: 1px solid black } | |
</style> | |
</defs> | |
<text><textPath xlink:href="#tp">Outlined text</textPath></text> | |
</svg> | |