Skip to content
nuggetof joy

Post · October 22, 2026

AMDE 155: Typography Has a Voice (Week 6)

AMDE 155 · INTRODUCTION TO WEB DESIGN · WEEK 06

Typography Has a Voice

Typography does more than make words look interesting. It creates hierarchy, establishes personality, and determines how comfortable a page is to read. This week, we will use CSS to make thoughtful decisions about typefaces, size, spacing, and alignment.

Typography Font Families Text Hierarchy Readability

01 / THE BIG IDEA

Words have a visual personality

Imagine a luxury fashion website using a playful handwritten font for every heading, or a children’s activity page using tiny, tightly spaced text. The content might be perfectly good, but the typography would make the experience feel confusing.

Typography helps establish a visual tone while making information easier to understand. As designers, we need to consider both expression and readability.

01

Personality

Typefaces can feel formal, playful, technical, expressive, traditional, or contemporary.

02

Hierarchy

Size and weight help visitors distinguish page titles, section headings, and body text.

03

Readability

Line spacing, text size, and line length affect how easily visitors can read your content.

Today’s goal: Use CSS to establish a typographic system with a heading style, a readable body font, and comfortable spacing.

02 / FONT FAMILIES

Choose a typeface that fits the project

CSS uses the font-family property to specify which typeface should display text. Different font families have different visual characteristics.

Sans serif · Clean and contemporary

Design is a way of seeing.

Serif · Traditional and editorial

Design is a way of seeing.

Monospace · Technical and structured

Design is a way of seeing.

These are examples of common font categories. None is automatically better than the others. The right choice depends on the content, audience, and intended mood.

TRY THESE FONT FAMILIES
body {
  font-family: Arial, sans-serif;
}

h1 {
  font-family: Georgia, serif;
}

This example uses a sans-serif typeface for body text and a serif typeface for the main heading. Try switching the two families to see how the page changes.

What does the second font name mean? In Arial, sans-serif, Arial is the preferred font. The generic family sans-serif gives the browser a fallback if Arial is unavailable.

03 / FONT SIZE

Build a clear hierarchy

Not every piece of text should have the same visual weight. A page title should generally stand out from the body text, while smaller headings help organize sections.

Example type hierarchy

Main Heading

Section Heading

Supporting Heading

Body text is designed for comfortable reading over several lines. It should be clear without competing with the main heading.

CONTROL TEXT SIZE
h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 1.75rem;
}

p {
  font-size: 1rem;
}

The font-size property changes the size of the text. These values use rem, a relative unit that scales with the document’s root font size.

Beginner tip: You will see both px and rem in web examples. For this course, start by experimenting with the supplied values and comparing the results. You do not need to memorize a perfect size for every heading.

04 / LINE HEIGHT

Give your text room to breathe

Line height controls the vertical space between lines of text. If lines are too close together, paragraphs can feel crowded. If they are too far apart, the text can feel disconnected.

Tight line spacing · 1.1

Good typography helps visitors follow an idea. Comfortable spacing gives each line room to breathe and makes longer passages easier to read.

Comfortable line spacing · 1.7

Good typography helps visitors follow an idea. Comfortable spacing gives each line room to breathe and makes longer passages easier to read.

CHANGE LINE HEIGHT
p {
  font-size: 1rem;
  line-height: 1.7;
}

Try changing 1.7 to 1.2, then to 2. Observe how the paragraph changes. For many body-text designs, a line height around 1.5–1.8 is a useful starting point.

05 / FONT WEIGHT & STYLE

Use emphasis with intention

Font weight controls how thick or bold the characters appear. Font style can make text italic. These properties help establish emphasis without changing the actual content.

FONT WEIGHT AND STYLE
h1 {
  font-weight: 700;
}

.intro {
  font-weight: 600;
  font-style: italic;
}

To apply the second rule, add the class to a paragraph in your HTML:

HTML
<p class="intro">
  A short introduction to my project.
</p>

Remember that the class selector begins with a period in CSS, but the HTML class value does not include the period.

Design tip: Use bold and italic styles to clarify meaning and hierarchy. If every element is bold, oversized, or italic, nothing feels particularly important.

06 / TEXT ALIGNMENT & LINE LENGTH

Think about how people read

Text alignment changes how content sits within its available space. Left-aligned text is a reliable default for many English-language paragraphs because each line begins at a consistent position.

ALIGNMENT EXAMPLES
h1 {
  text-align: center;
}

p {
  text-align: left;
}

Other possible values include right and center. Use alignment to support the content rather than applying the same treatment to everything.

Why line length matters

Very long lines can be difficult to track from one line to the next. Limiting the width of a text container can make longer passages more comfortable to read.

LIMIT THE WIDTH OF BODY TEXT
p {
  max-width: 65ch;
  line-height: 1.7;
}

The ch unit is based on the width of the character “0” in the current font. It can be useful when setting a comfortable line length. This is an introduction; we will explore layout and spacing more thoroughly in Week 7.

Accessibility check: Make sure your text remains readable when the browser window is narrow or when a visitor zooms in. Avoid relying on tiny text to fit everything on the page.

07 / SYNCHRONOUS CLASS ACTIVITY

Give the same page three typographic personalities

During our live session, we will use one simple HTML page and explore how typography changes its visual identity. You will experiment with font family, size, weight, and line spacing.

A

Editorial

Try a serif heading, restrained color, and comfortable body-text spacing.

B

Contemporary

Try a sans-serif family, a bold heading, and a clear size hierarchy.

C

Expressive

Try a more dramatic heading size while keeping paragraphs easy to read.

Guided exercise

  1. Open your Week 5 project in CodePen.
  2. Choose a font family for the body text.
  3. Choose a different font family for the main heading.
  4. Set the size and weight of the main heading.
  5. Set the body-text line height to approximately 1.7.
  6. Experiment with left-aligned and centered headings.
  7. Compare the different versions and explain which best fits your topic.
Discussion question: How can typography make a page feel distinctive without making the content harder to read?

08 / INDEPENDENT PROJECT

Develop a typographic system

Continue working on your personal-interest website. This week, refine its typography so the title, section headings, and body text work together as a consistent system.

01

Choose your typefaces

Select a body font and, if appropriate, a different font for your headings.

02

Establish hierarchy

Use size and weight to distinguish the main title, section headings, and paragraphs.

03

Improve readability

Adjust line height, alignment, and text width to make the content comfortable to read.

Project requirements

  • Continue using your existing HTML and CSS project.
  • Set a font family for the body text.
  • Style the main heading and section headings.
  • Establish a clear difference between headings and body text.
  • Adjust paragraph line height for readability.
  • Use font weight or style to create emphasis where appropriate.
  • Make thoughtful decisions about text alignment.
  • Check that the text remains readable in the CodePen preview.
  • Submit your working CodePen link through D2L.
Keep it manageable: You do not need to use an external font service or create a complex typographic system. Start with the fonts available on your computer and the CSS properties in this lesson.

09 / SUBMISSION & REFLECTION

Explain your typography choices

Submit your CodePen link through the Week 6 assignment area in D2L. Check that your text is readable, your headings are easy to distinguish, and your existing page content and links still work.

Reflection questions

  1. What personality did you want your typography to communicate?
  2. Which change made the biggest difference to the readability of your page?
  3. How did you decide which text should receive the most visual attention?

10 / QUICK REFERENCE

Typography properties from this week

font-family

Specifies the typeface or font stack.

font-size

Controls the size of text.

font-weight

Controls how light or bold text appears.

font-style

Can apply styles such as italic.

line-height

Controls the vertical spacing between lines.

text-align

Aligns text left, right, or center.

max-width

Limits the maximum width of an element.

11 / LOOKING AHEAD

Next week: The CSS Box Model & Spacing

We have established a visual identity and improved the typography. Next week, we will explore how CSS controls the space around and inside elements using margins, padding, borders, and dimensions.

As you browse websites this week, pay attention to how headings guide your attention, how paragraphs are spaced, and how typefaces contribute to the overall experience.