XML technologies / SVG / Using text elements / Available SVG tags for text elements / General information on textPath, tspan and tref

(Excerpt from “Das Einsteigerseminar SVG — Webgrafiken mit XML” by Helma Spona)

These tags are not equivalent alternatives to the <text> tag: they can only be used inside the <text> tag. You have already seen an example (see Creating a text-based logo). There, the <textPath> tag was defined inside the <text> tag to align text to a path. The other tags work similarly; examples follow.

   

 

 

 

back to top