Vertical text : text « SVG « XML






Vertical text


<svg>
  <g style="font-size: 10pt;">
    <text x="100" y="20" style="writing-mode: tb;"> Sideways   vertical</text>
    <text x="200" y="20" style="writing-mode: tb; glyph-orientation-vertical: 0;">Upright vertical</text>
    <text x="275" y="30" >Upright horizontal</text>
    <text x="275" y="100" style="writing-mode: lr; glyph-orientation-horizontal: 270">Sideways horizontal</text>
  </g>
</svg>

 








Related examples in the same category

1.Rendering a Text String
2.Rendering a Text String with Colored Borders
3.Using Text Decoration with Text Strings
4.Using the SVG tspan Element with Text Strings
5.Rendering Shadowed Text
6.Rotating a Text String Counterclockwise
7.Displaying Text with Linear Gradients
8.Displaying Text with Opacity
9.Displaying Text with blur Filters
10.Text Following a Specified Path