Search code snippets, questions, articles...

Word spacing CSS

Define the space between words using the word-spacing property in CSS.
.paragraph {
    word-spacing: 10px;

You can use word-spacing property of CSS to set space between words. It can be a use case that if there is a paragraph are you want to remove default space between words and want to define your space, then you can do this by using word-spacing property.

Was this helpful?