画文字

<svg xmlns="http://www.w3.org/2000/svg">
    <text x="40" y="60" font-size="28">Hello World!</text>
</svg>

x 和 y 坐标指定文本左下角的位置(除非文本锚已被修改)。

StackOverflow 文档