Tsallaka zuwa abun ciki
Justice Tech School

Line Height, Letter and Word Spacing

line-height sets space between lines, letter-spacing between characters and word-spacing between words. A line-height of 1.5 is readable for paragraphs.

Example
<style>
.a { line-height: 1.8 } .b { letter-spacing: 3px } .c { word-spacing: 12px }
</style>
<p class="a">Comfortable line height for reading longer paragraphs of text on a screen.</p><p class="b">Spaced letters</p><p class="c">Spaced out words</p>

Exercise

Space between lines.

-height: 1.5;

Quiz Test

Which is a readable line-height?

These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.