Word-spacing part 1

The word-spacing Property



The word-spacing property specifies the space between words in a text. Just like the letter-spacing property, you can set the word-spacing values as normallength, and inherit

The HTML:<p class="normal">This paragraph has no additional word-spacing applied.</p>
<p class="px">This paragraph is word-spaced at 30px.</p>

The CSS:
p.normal {
word-spacing: normal;
}
p.px {
word-spacing: 30px;
}
Try It Yourself

Result:
When a weird spacing is used, and it is necessary to keep the selected paragraph with normal word spacing, the normaloption is usually used.

Comments

Popular posts from this blog

font-family part 1