tspan to add style to part of the text
tspan to add style to part of the text
<svg width="650" height="100" xmlns="http://www.w3.org/2000/svg">
<rect width="100%" height="100%" border="black"
style="fill:white;stroke-width:3;stroke:black" />
<text x="30" y="60" font-size="30" text-anchor="start" stroke="red" fill="blue">
Some text
<tspan fill="yellow">with tspan</tspan>
and then more text.
</text>
</svg>