Search within TutorialsPark

CSS word-spacing Property

To set the spacing in between the words

Definition and Notes.

1. The CSS word-spacing property is used to define the whitespace to be inserted in between the words.

2. The browser will apply this to collapsed whitespace in between strings of nonwhitespace characters .


CSS word-spacing property. internetexplorer safari firefox opera chrome

View in Splitscreen»


Note:Negative length values are permitted and wil make the words to bunch closer together

Property Values

Value Description
normal The normal space in between words as defined by a browser
length The space is specified in terms of length units like px, em , cm etc
inherit The child element inherits the spacing value from the parent element.


Specs Value
Name word-spacing
Value [normal | <length> ]
Initial Value normal
Applies to All elements
Javascript syntax"10px"
Inherited Yes
Computed Value For length values, the absolute length, otherwise, normal
Browser Support internetexplorer safari firefox opera chrome

Related Examples.