CSS word-spacing Property


The word-spacing property increases or decreases the white space between words.

This CSS property is used to control the space between the words. Using this property, we can increase or decrease the space between the words.

It modifies the space placed between the words. It is similar to the letter-spacing property, but instead of specifying the space between the individual characters, this CSS property defines the space between the words in the piece of text.

A large negative or positive value of word-spacing will make the word unreadable. If we apply a very large positive value, then it will cause the appearance of words like a series of unconnected and individual words. A very large negative value will overlap the word to each other, which makes the word unrecognizable.

CSS Syntax

word-spacing: normal|length|initial|inherit;

Example -