Style letterSpacing Property
Style letterSpacing Property
The letterSpacing property is used to either set or return space between characters in a text. For doing the same thing with words, we use wordSpacing property.
Syntax:-
Its syntax is:- object.style.letterSpacing OR object.style.letterSpacing = normal | length | initial | inherit
Return:-
Its return is:- string having space between characters in the text
Further Explanation:-
Value | Description |
---|---|
normal | Normal space between characters. |
length | Defines the space in length units. |
initial | Sets property to its default value. |
inherit | Inherits property from its parent element. |