<svg width="100%;">
  <text x="10" y="10">this is <tspan style="font-style: italic">italic</tspan> and <tspan style="font-weight: bold">bold</tspan>.</text>
</svg>

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.