Run ❯
Get your
own
website
Result Size:
625 x 565
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
<!DOCTYPE html> <html> <body> <h2>Use the tspan element in text</h2> <svg height="40" width="250" xmlns="http://www.w3.org/2000/svg"> <text x="5" y="30" fill="red" font-size="35">I Love <tspan fill="none" stroke="green">SVG</tspan>! </text> Sorry, your browser does not support inline SVG. </svg> </body> </html>