SVG/Attribut/word-spacing
Aus SELFHTML-Wiki
< SVG | Attribut(Weitergeleitet von SVG/Attribute/word-spacing)
Das word-spacing-Präsentationsattribut bestimmt wie bei der gleichnamigen CSS-Eigenschaft den Abstand zwischen den Wörtern im Text.
erlaubte Werte |
|
---|---|
default-Wert | normal |
erlaubt in | text, textPath, tspan |
Beispiel
<text x="100" y="100" word-spacing="-5px">
Beispieltext mit geringem Wortabstand
</text>
<text x="100" y="200">
Beispieltext mit normalem Wortabstand
</text>
<text x="100" y="300" word-spacing="1em">
Beispieltext mit großem Wortabstand
</text>
Siehe auch
Weblinks
- Spezifikation (W3C): WordSpacingProperty