ITP

BSc IT - Web Designing

Explain CSS Text spacing tag.

In : BSc IT Subject : Web Designing

CSS provides several properties  that allow you to control the spacing of text  on a web page. These properties help improve readability, design layout, and enhance the overall appearance of the text.

letter-spacing - Space between letters - 2px,normal
word-spacing - Space between words - 4px,normal
line-height - Vertical space between lines - 1.5,20px
text-indent - Indentation of the first line - 30px,5%

<style>

p {
  letter-spacing: 2px;
}

p {
  word-spacing: 5px;
}

</style>

<p>This text has extra space between words.</p>

About us

A truly open platform where you may ask questions and get answers. We also provide comprehensive and easy-to-understand answers to question papers.  discover...

Site status

Flag Counter

Privacy Policy

Sitemap