Sub topic 3
Write a headline that states the offer
This chapter assumes you know basic HTML and CSS, have a rough idea of what a call to action (CTA) is, and have read the previous chapter, where you wrote the offer as one sentence. The headline is the first place that sentence shows up on the page, so most of the work here is turning it into words a visitor reads in about two seconds.
What the headline has to do
The headline is the largest text in the hero and usually the first thing a visitor reads. It has one job: tell a visitor what the product does for them, in words they would use themselves. Everything else in the hero supports that sentence. The subheadline adds specifics, the CTA gives the next step, and the visual shows the product.
A visitor who reads only the headline should be able to answer two questions:
- What is this?
- Is it for someone like me?
If the headline answers neither, the rest of the hero has to carry the whole offer, and most visitors will not read that far.
Start from the one-sentence offer
In the previous chapter you wrote the offer as one sentence. For the running example, a fictional invoicing tool called Ledgerly, that sentence might be:
> Ledgerly helps freelancers create, send and track invoices so they get paid sooner.
The headline is a shorter version of this sentence. Pick the part that is the outcome, meaning the thing the visitor gets, and drop the rest for the subheadline to carry.
| Part of the offer | Example | Where it goes |
|---|---|---|
| Outcome | Send invoices fast | Headline |
| Audience | Freelancers | Subheadline |
| Mechanism | Create, send and track | Subheadline |
| Benefit behind the outcome | Get paid sooner | Subheadline |
The result in the spine's code example is a headline that names the outcome with a number:
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 requiredThe "before" version fails because nothing in it is specific to Ledgerly. "Welcome" greets the visitor but says nothing, and "empower businesses" could describe any software company. The "after" version names an action (send invoices) and a measurable result (under a minute).
Techniques for stating the offer
There is no single formula, but four patterns cover most good headlines. Pick the one that fits what you can honestly claim.
- Name the outcome. "Send invoices in under a minute." The visitor learns what they will be able to do.
- Name the problem you remove. "Stop chasing late invoices." This works when the pain is stronger than the goal.
- Name the product category plus a differentiator. "Invoicing built for freelancers." This works when visitors need to know what kind of product it is before they care about benefits.
- Name the audience. "Invoicing for freelancers." The visitor can tell immediately whether to keep reading.
You can combine them, but keep to one idea per headline. Two ideas compete for attention and the visitor remembers neither.
Use concrete words
Concrete words are ones a visitor can picture or measure. Vague words could be pasted onto any product.
| Vague | Concrete |
|---|---|
| Powerful invoicing solution | Send invoices in under a minute |
| Streamline your workflow | Turn a finished job into a sent invoice in three clicks |
| Take your business to the next level | See which invoices are unpaid at a glance |
| The future of billing | Get paid by card or bank transfer |
A good test is to swap in a competitor's name. If the headline still reads correctly, it is too general.
Claims need to be true
A number in a headline is a promise. "Under a minute" must be true for a typical new user, not only for the fastest case. If you cannot support a figure, leave it out and use a plain statement of the outcome. An inflated claim brings the visitor in and then loses them, and it can create legal trouble in some industries.
Length and wording
Keep the headline short enough to read at a glance. A practical range is about 4 to 10 words. On a phone, a headline of more than three or four lines pushes the CTA below the fold, which the layout chapters cover later.
Some wording habits help:
- Start with a verb when the headline describes an action: "Send," "Track," "Book," "Compare."
- Use "you" and "your" sparingly. The outcome usually speaks for itself.
- Avoid jargon the audience does not use. Freelancers say "invoice," not "billing workflow orchestration."
- Avoid cleverness that needs decoding. A pun may be memorable but costs the visitor time to understand.
- Write in sentence case. It reads faster than Title Case and looks less shouty.
Headline and subheadline together
The headline and subheadline are read as a pair, so divide the work between them. The headline gives the outcome in a few words. The subheadline adds who it is for, how it works, and the benefit behind the outcome.
Do not repeat the headline in the subheadline. If both say "Send invoices fast," the second line wastes space that could carry a specific.
Marking up the headline
The headline is a heading, so use the heading element. Each page should have one h1, and on a homepage the hero headline is the natural choice. The aria-labelledby attribute on the section ties the hero region to its title, so assistive technology can announce it by name.
<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>
<a class="hero__cta" href="/signup">Start free trial</a>
<p class="hero__note">No credit card required</p>
</div>
</section>Write the headline as real text. Putting it inside an image means it cannot scale, cannot be selected, and is hard for screen readers and search engines to read. It also makes translation and testing slower.
Styling the headline
The headline should be the largest text on the page, with tight line height so a multi-line headline reads as one unit. The clamp() function sets a minimum, a preferred value tied to the viewport width, and a maximum, so the size scales smoothly without a media query.
.hero h1 {
font-size: clamp(2rem, 5vw, 3.5rem);
line-height: 1.1;
margin: 0 0 1rem;
}Reading the font-size value from left to right:
2remis the smallest size, used on narrow phones.5vwis 5% of the viewport width, which grows as the window widens.3.5remis the largest size, so the text does not become huge on wide monitors.
Using rem for the minimum and maximum keeps the headline responsive to the user's own font-size setting, which matters for accessibility. Pure vw units ignore that setting.
Common errors
| Error | Why it hurts | Fix |
|---|---|---|
| Greeting instead of offer ("Welcome to...") | Spends the most valuable line on no information | Replace with the outcome |
| Company slogan with no meaning | Cannot be tested against what the product does | Name an action or result |
| Two or three ideas in one headline | Visitor retains none | Choose one, move the others to the subheadline |
| Headline in an image | Not scalable, hard to read for assistive tools | Use real text in an `h1` |
| Unsupported numbers | Breaks trust and may be a legal risk | Use only figures you can back up |
| Headline too long for mobile | Pushes the CTA below the fold | Shorten, then check at 320 px wide |
| More than one `h1` in the hero | Confuses the page outline | Use one `h1`, and `p` or `h2` for the rest |
Checking a draft
Before you move on, run a draft headline through four quick checks:
- Five-second test. Show the hero to someone for five seconds, then ask what the product does. If they cannot say, the headline is not working.
- Competitor swap. Replace your product name with a competitor's. If it still fits, make it more specific.
- Mobile width. Resize the browser to 320 px wide. The headline should take no more than about four lines.
- Claim check. Can you prove every number and promise in it?
The testing chapter later in the tutorial covers how to compare two headlines with real traffic. For now, these checks are enough to catch most weak drafts.
Exercise
A project-management tool for small design studios has the hero headline "Unlock your team's full potential." Rewrite it so it states the offer. Use the product's one-sentence offer: "StudioBoard helps small design studios plan projects and track client feedback in one place." Give a headline, and say which part of the offer you moved into the subheadline.
Show answer
One good answer is "Plan projects and track client feedback in one place." This names the outcome and the mechanism. The audience, "small design studios," moves to the subheadline, for example "StudioBoard gives small design studios one board for deadlines, tasks and client comments." An alternative that stresses the pain is "Stop losing client feedback in email threads." Either version passes the competitor-swap test because it names concrete actions, whereas "Unlock your team's full potential" would fit any team tool.
Exercise
A hero headline is set with font-size: 6vw; and no minimum or maximum. Name two problems this causes and write a CSS declaration that fixes them.
Show answer
On a narrow phone the text becomes too small to read comfortably, and on a very wide monitor it becomes very large. Pure vw units also ignore the user's font-size preference. Use font-size: clamp(2rem, 5vw, 3.5rem); so the size has a floor, a ceiling, and a rem-based range that respects user settings.