text element

The text element defines a graphics element consisting of text. Note that it is possible to apply a gradient, pattern, clipping path, mask or filter to text.

<!DOCTYPE HTML>
<html>
    <head>
        <title>SVG tutorial</title>
    </head>
    <body>
        <svg width="400" height="400">
            <text x="250" y="150" font-family="Verdana" font-size="55">
                Hello, out there
            </text>
            <!-- Show outline of canvas using 'rect' element -->
			<rect x="1" y="1" width="998" height="298" fill="none" 
                 stroke-width="2" />
        </svg>
    </body>
</html>