The word-spacing property specifies the spacing behavior between tags and words.
Possible values
em px vh cm
etc.) or percentage (using %
)normal
uses the font's default word spacinginherit
takes the value from the parent elementCSS
.normal { word-spacing: normal; }
.narrow { word-spacing: -3px; }
.extensive { word-spacing: 10px; }
HTML
<p>
<span class="normal">This is an example, showing the effect of "word-spacing".</span><br>
<span class="narrow">This is an example, showing the effect of "word-spacing".</span><br>
<span class="extensive">This is an example, showing the effect of "word-spacing".</span><br>
</p>
Online-Demo
Further reading: