Text element in SVG file - start at top y - HTML CSS SVG

HTML CSS examples for SVG:Text

Description

Text element in SVG file - start at top y

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
 </head> <!--   ww  w  .j  ava  2 s  . c  o  m-->
 <body> 
  <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="2551" height="3578"> 
   <g name="text_group" id="group_lay_29073"> 
    <text x="0" y="0" font-family="Arial" font-size="30" fill="#000" alignment-baseline="hanging" text-anchor="start" font-style="normal">
      Loremp ipsum 
    </text> 
   </g> 
  </svg>  
 </body>
</html>

Related Tutorials