letter-spacing property is used to add extra space between adjacent characters.
The values of letter-spacing are.
| Values | Description |
|---|---|
normal | |
| <length> | |
inherit | inherited from the parent |
letter-spacing : 0.5em letter-spacing : 5px letter-spacing : 5pt letter-spacing : 0.5cm
<html>
<head>
<style>
p {letter-spacing:15px;}
h2 {letter-spacing:0.6cm}
a {letter-spacing:2mm}
span {letter-spacing:3pt}
div {letter-spacing:+0.2em; color: red}
</style>
</head>
<body>
<a>This is a anchor link</a>
<p>This is a paragraph text</p>
<h2>This is a text inside h2</h2>
<span>This is a paragraph text</span>
<div>This is a text inside h2</div>
</body>
</html>This is a paragraph text
