Easy Tutorial
❮ Pr Border Color Sel Enable ❯

CSS letter-spacing Property

Example

Set the letter spacing for h1 and h2 elements:


Property Definition and Usage

The letter-spacing property increases or decreases the space between characters (character spacing).

Default value: normal
Inherited: yes
--- ---
Version: CSS1
--- ---
JavaScript syntax: object.style.letterSpacing="3px"
--- ---

Browser Support

The numbers in the table specify the first browser version that fully supports the property.

Property
letter-spacing 1.0 4.0 1.0 1.0 3.5

Property Values

Value Description
normal Default. Specifies no extra space between characters.
length Defines a fixed space between characters (allows negative values).
inherit Specifies that the value of the letter-spacing property should be inherited from the parent element.

Related Articles

CSS Tutorial: CSS Text

❮ Pr Border Color Sel Enable ❯