word-spacing: ***;

Browser
  • IE
  • Cr
  • Sf
  • Fx
  • O

The word-spacing property specifies the spacing between words.


p {
word-spacing: 0.5em;
}

Property Value Explanation
word-spacing length or normal the size of the spacing between words

The default is "normal".

Example


<html>
<head>
<title>TAG index</title>

<style type="text/css">

#example1 { word-spacing: 0.3em; }
#example2 { word-spacing: 1em; }

</style>

</head>
<body>

<p>Welcome to my website.</p>
<p id="example1">Welcome to my website.</p>
<p id="example2">Welcome to my website.</p>

</body>
</html>

Output

Welcome to my website.

Welcome to my website.

Welcome to my website.