<text style="font-weight: bold;">This is bold text in Scalable Vector Graphic (SVG)</text>
Italic
<text style="font-style: italic;">This is italic text in Scalable Vector Graphic (SVG)</text>
Underline
<text style="font-decoration: underline;">This is underlined text in Scalable Vector Graphic (SVG)</text>
Using tspan
<text x="0" y="15"><tspan style="font-weight: bold;">This is bold</tspan>, <tspan style="font-style: italic;">this is italic</tspan> and <tspan style="text-decoration: underline;">this is underline</tspan>, all in one line of text</text>
This is bold, this is italic and this is underline