You don't generate images, you just embed SVG nodes in the DOM. From the browser's perspective SVG and HTML elements are just two different types of element.

SVG is not great for text - HTML has more features - but for display text it's OK.