Sub topic 3
Write a headline that states the offer
This chapter assumes you know basic HTML and CSS and have a one-sentence offer for your page, as defined in the previous chapter. Here you turn that sentence into a headline.
What the headline does
The headline is the first line a visitor reads. Its job is to answer one question: "What do I get here?" If a visitor reads only the headline and nothing else, they should still know what the product does for them.
A headline that states the offer names an outcome in plain words. It does not describe the company, and it does not make a general promise.
Vague versus specific
Compare two headlines for the same invoicing product.
| Headline | What the visitor learns |
|---|---|
| Welcome to Ledgerly | Nothing about the product |
| We empower businesses | A claim that fits any company |
| Send invoices in under a minute | The action, the object and a speed |
The third headline works because a reader can picture it. It uses a verb ("Send"), a concrete noun ("invoices") and a measurable detail ("under a minute").
Before: Welcome to Ledgerly. We empower businesses.
After:
Headline: Send invoices in under a minute
Subheadline: Ledgerly helps freelancers create, send and track invoices, so you get paid sooner.
CTA: Start free trial
Note: No credit card requiredA formula you can reuse
Most strong headlines follow one of these patterns:
- Action + object + benefit: "Send invoices in under a minute".
- Outcome + timeframe: "Get paid within a week".
- Product category + audience: "Invoicing for freelancers".
Pick the pattern that fits your offer. If you can only fill in the category, your offer is probably not specific enough yet. Go back to the one-sentence offer and sharpen it.
Checks for a good headline
- It names something the visitor wants, not something you are proud of.
- It avoids buzzwords such as "empower", "solutions" and "next-generation".
- It is short enough to read in one glance. Aim for about 6 to 12 words.
- It makes sense without the image beside it.
- It does not repeat the product name as its only content.
Put it in the page
Mark the headline up as the page's single h1. Search engines and screen readers use the h1 to learn what the page is about, so each page should have only one.
<section class="hero" aria-labelledby="hero-title">
<div class="hero__text">
<h1 id="hero-title">Send invoices in under a minute</h1>
<p class="hero__sub">Ledgerly helps freelancers create, send and track invoices, so you get paid sooner.</p>
</div>
</section>The aria-labelledby attribute connects the section to its headline, so assistive technology announces the section by that name.
Style the headline to be the largest text on the page. The clamp() function keeps it readable on a phone and strong on a desktop.
.hero h1 {
font-size: clamp(2rem, 5vw, 3.5rem);
line-height: 1.1;
margin: 0 0 1rem;
}clamp(2rem, 5vw, 3.5rem) sets a minimum of 2rem, a preferred size of 5% of the viewport width, and a maximum of 3.5rem.
Common errors
- Clever but unclear. Wordplay makes the visitor decode your meaning. Clarity beats wit.
- Too long. A headline that wraps to five lines on a phone pushes the call to action below the fold.
- Several promises. Choose one offer. Extra claims belong in the subheadline or lower on the page.
- Text inside an image. Headline text in an image cannot be read by screen readers and does not scale. Use real text.
- Using a heading tag for size. Choose the tag for meaning, then set the size with CSS.
Exercise
A hero headline reads "Innovative solutions for modern teams". Name two problems with it and rewrite it for a product that lets teams share meeting notes automatically.
Show answer
The headline uses buzzwords ("innovative", "solutions", "modern") and names no action or outcome, so a visitor cannot tell what the product does. A better version is "Share meeting notes with your team automatically", which has a verb, an object and a benefit.
Exercise
Why should the headline be a real h1 element rather than text placed inside an image?
Show answer
Real text can be read by screen readers, is used by search engines to understand the page, and scales with the user's font settings. Text in an image offers none of these.