Skip to content
Learn Netverks

Lesson

Step 8/31 26% through track

typography-ui

Readable typography

Last reviewed Jun 1, 2026 Content v20260601
Track mode
iframe_html
Means
HTML preview sandbox
Reading
~1 min
Level
beginner

This lesson

This lesson teaches Readable typography—the ideas, syntax, and habits you need before moving on in HTML & CSS.

Without a solid grasp of Readable typography, you will repeat mistakes in HTML & CSS exercises and on real pages or scripts.

You will apply Readable typography in contexts like: Landing pages, dashboards, marketing sites, and portfolio pieces built without a framework.

Read the lesson, edit HTML/CSS in the playground, press Run to preview, then answer the lesson MCQs.

When the previous lesson's MCQs feel easy and you can explain Readable typography in your own words.

Typography is most of what users perceive as “design.” Good HTML gives headings and paragraphs; CSS makes them comfortable to read.

Practical rules

  • Body text: line-height around 1.5–1.7.
  • Prefer rem for font sizes so users who zoom see consistent scaling.
  • Limit line length (~60–75 characters) with max-width on text containers.
  • Ensure contrast: dark text on light backgrounds (check WCAG for production).

Heading hierarchy

Use one <h1> per page view, then h2, h3 without skipping levels when possible. Style sizes in CSS—not by picking the wrong heading level.

Practice

  1. Change --font-size-base and watch the whole page scale.
  2. Set max-width on .prose and compare readability.

Important interview questions and answers

  1. Q: Why use `rem` instead of `px` for font-size?
    A: `rem` respects root font size and user zoom preferences better than fixed pixels.
  2. Q: What is a common accessible line-height for body text?
    A: Around 1.5 or higher depending on font and size.
  3. Q: Should heading level be chosen for font size?
    A: No—choose level for document structure; size is CSS.

Interview tip Lesson completion confidence

Can you explain this lesson in 30 seconds without reading notes?

Not saved yet.

Playground

Runs in your browser in a sandboxed frame. Backend runners appear when this track’s profile allows them.

Check yourself

Multiple choice — immediate feedback.

Discussion

Past discussion is visible to everyone. Only logged-in users can post comments and replies.

Starter discussion topics

  • What part of this lesson needs a second read?
  • What would you try differently in a real project?

Sign up or log in to post comments and sync lesson progress across devices.

No discussion yet. Be the first to ask a question.

Jump