CSS word-spacing

Previous Next

Demo of the different values of the word-spacing property.

Click the property values below to see the result:

word-spacing: normal;
word-spacing: 1px;
word-spacing: 5px;
word-spacing: 10px;
word-spacing: 20px;
word-spacing: 50px;
word-spacing: -1px;
word-spacing: -2px;
word-spacing: -3px;
word-spacing: -4px;
word-spacing: 1cm;
word-spacing: 2cm;
This example demonstrates the word-spacing property. You can see the result of the different word-spacing properties by clicking on one of the properties on the left.
This example demonstrates the word-spacing property. You can see the result of the different word-spacing properties by clicking on one of the properties on the left.
This example demonstrates the word-spacing property. You can see the result of the different word-spacing properties by clicking on one of the properties on the left.
This example demonstrates the word-spacing property. You can see the result of the different word-spacing properties by clicking on one of the properties on the left.
This example demonstrates the word-spacing property. You can see the result of the different word-spacing properties by clicking on one of the properties on the left.
This example demonstrates the word-spacing property. You can see the result of the different word-spacing properties by clicking on one of the properties on the left.
This example demonstrates the word-spacing property. You can see the result of the different word-spacing properties by clicking on one of the properties on the left.
This example demonstrates the word-spacing property. You can see the result of the different word-spacing properties by clicking on one of the properties on the left.
This example demonstrates the word-spacing property. You can see the result of the different word-spacing properties by clicking on one of the properties on the left.
This example demonstrates the word-spacing property. You can see the result of the different word-spacing properties by clicking on one of the properties on the left.
This example demonstrates the word-spacing property. You can see the result of the different word-spacing properties by clicking on one of the properties on the left.
This example demonstrates the word-spacing property. You can see the result of the different word-spacing properties by clicking on one of the properties on the left.

Play more with the code in our Tryit yourself editor: Try it Yourself ❯