Example

A simple word-spacing property example:

Laboratory

description & Usage

We use the word-spacing property to increase the white space between the words in the text.

Informations

# Description
Default Value normal
Inherited yes
Animatable yes
Version CSS1
JavaScript syntax object.style.wordSpacing="20px"

Browser compatibility and Support

# Chrome Edge Firefox Safari Opera
word-spacing

Syntax

Values

Values Description
normal default
length Determines the space between words in pixels, centimeters, etc.
initial Adds this value to its default property.
inherit It inherits this value from its parent tag.