<svg width="10cm" height="3cm" viewBox="0 0 1000 300" version="1.1"> <desc>Example tspan01 - using tspan to change visual attributes</desc> <g font-family="Verdana" font-size="45"> <text x="200" y="150" fill="blue"> You are <tspan font-weight="bold" fill="red">not</tspan> a banana. </text> </g> <rect x="1" y="1" width="998" height="298" fill="none" stroke="blue" stroke-width="2"/> </svg> |
Original SVG source |