문자, 즉 문자 사이에 공백을 설정하려면 letter-spacing 속성을 사용하십시오. 다음은 속성 값입니다 -
letter-spacing: normal|length|initial|inherit;
예시
<!DOCTYPE html>
<html>
<head>
<style>
p.demo1 {
letter-spacing: 1px;
}
p.demo2 {
letter-spacing: 10px;
}
</style>
</head>
<body>
<h1>Demo Heading</h1>
<h2>Heading2</h2>
<p class="demo1">This is demo text.</p>
<h2>Heading2</h2>
<p class="demo2">This is demo text.</p>
</body>
</html> 출력

예시
이제 다른 예를 살펴보겠습니다 -
<!DOCTYPE html>
<html>
<head>
<style>
p.demo1 {
letter-spacing: 1cm;
}
p.demo2 {
letter-spacing: -2px;
}
</style>
</head>
<body>
<h1>Demo Heading</h1>
<h2>Heading2</h2>
<p class="demo1">This is demo text.</p>
<h2>Heading2</h2>
<p class="demo2">This is demo text.</p>
</body>
</html> 출력
