CSS

CSS Intro

CSS Intro Quiz

CSS Intro Exercise

CSS Basic

CSS Basic Quiz

CSS Basic Exercise

CSS Advance

CSS Advance Quiz

CSS Advance Exercise

CSS3

CSS3 Quiz

CSS3 Exercise

CSS Properties

CSS Functions

CSS Selectors

Word Spacing in CSS

The word-spacing Property

 

 

The word-spacing property specifies the space between words in a text. It is similar to letter-spacing and its values can be normal, inherit of different lengths like px, em, rem, pt. Its value can be both positive and negative values.

 

Syntax:-

 

Its syntax is:-

< style >

element{

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

}

</style >

 

Further Explanation:-

 

Value Description
normal Defines normal space between words.
length Defines an additional space between words in px, em, etc.
initial Sets this property to its default value.
inherit Inherits this property from its parent element.

Code Explanation

All Tutorials related to CSS Basic

All Sections related to CSS