Sub topic 2
Choose One Primary Call to Action
Assume you know basic HTML and CSS, understand a typical marketing homepage, and know that a call to action (CTA) asks the visitor to take a next step.
Choose one primary call to action
A hero should have one primary CTA. The primary CTA is the action that best matches the offer and the visitor’s intent. Label it with the outcome, not a vague instruction.
- “Start free trial” tells the visitor what happens next.
- “Create your first invoice” states the immediate result.
- “Learn more” hides the result and usually weakens the decision.
Secondary links, such as “See pricing,” can exist, but they should have less visual weight. Do not give several buttons equal emphasis. Visitors should not have to decide which action matters most.
<section class="hero" aria-labelledby="hero-title">
<div class="hero__content">
<p class="hero__eyebrow">For independent consultants</p>
<h1 id="hero-title">Send invoices in under a minute</h1>
<p class="hero__subheadline">
Create, send, and track invoices so you get paid sooner.
</p>
<a class="hero__cta" href="/signup">Start free trial</a>
<a class="hero__secondary" href="/pricing">See pricing</a>
</div>
</section>Order the elements so the offer is read first
Visual hierarchy is the order in which design directs attention. Use the value proposition to set that order:
- A short audience or context label, if needed.
- The headline, which states the main offer.
- The subheadline, which adds specific benefits or explains how it works.
- The primary CTA.
- Optional secondary action or reassurance.
Use spacing, size, contrast, and position to support this sequence. The CTA should be easy to find without competing with the headline.
Pick a visual that shows the product or outcome
Choose an image that answers a visitor’s question or demonstrates the promised result. A product interface can show how the service works. An outcome image can show what success looks like.
Avoid decorative images that consume attention or slow the page without adding meaning. Give meaningful images descriptive alternative text, and reserve empty alternative text for purely decorative images.
Add trust signals without crowding the offer
Trust signals reduce uncertainty. Use one compact signal near the CTA, such as “No credit card required,” a customer count, or a recognizable review. Keep it subordinate to the offer. A row of logos, badges, and testimonials can make a simple hero harder to scan.
Exercise
A hero has equal buttons for “Start trial,” “Book a demo,” and “Read documentation.” What should you change first?
Show answer
Choose the one action that best matches the hero’s offer and make it the primary CTA. Move the others to quieter links or later sections.