Email Buttons: How to Build Bulletproof CTA Buttons That Always Show
An email button is not a <button> element — it is a styled anchor tag (<a href="...">) that looks like a button. That distinction matters because most email clients strip or ignore form elements, and because a button built from an image can vanish entirely when images are blocked. A bulletproof button is one built from HTML and CSS so the label and the link survive image blocking, dark mode, and Outlook's rendering quirks. This guide covers how email buttons are built, how to design them so they stay visible and clickable, and a checklist you can run before every send.
What "email buttons" actually means in HTML email
In a web page, you have real options: <button>, <input type="submit">, or a styled link. In email, you effectively have one: a styled anchor tag. Form controls are unsupported or unreliable across major clients, so the button you see in a well-built campaign is almost always an <a> element with inline styles that make it look like a button.
There are two common builds:
- Image-based buttons. The button is a PNG or JPG. It looks exactly like the designer intended, but it is an image, so it inherits every problem images have in email.
- Code-based (bulletproof) buttons. The button is HTML and CSS: a background color, padding, a border radius, and a text label. Nothing about it depends on an image loading.
A third pattern, the hybrid, wraps an image button in a styled link with alt text and a styled fallback, so something usable appears even when the image does not.
The reason "bulletproof" is a real category and not marketing language is that image blocking is a default in several major clients, and corporate mail filters often proxy or strip images. If your only click target is an image, some portion of your list sees an empty box — or nothing at all. Email buttons are a client-compatibility problem before they are a design choice.
Choosing a provider at the same time? Our comparison of the Best Email Marketing Platforms ranks them by verified prices for your list size and sending volume.
Why image buttons fail (and what "bulletproof" solves)
When images are blocked, the client typically shows the image's alt text in place of the image, or collapses the space entirely. If your button is a 200×50 PNG with no alt text, the recipient gets a blank gap where the most important element in the email should be. If the image is loaded through a proxy that fails, you get the same result.
Dark mode adds a second failure mode. Some clients invert colors, and an image button with a light background and dark text can end up as a light rectangle on a light background — technically visible, practically invisible.
Bulletproof buttons solve this because the label is text and the link is a link. Even in the worst case — background color stripped, border radius ignored — the recipient still sees clickable text that says what to do. That is the whole point: degrade to something usable rather than to nothing.
The trade-off is real. Code buttons cannot reliably reproduce gradients, custom fonts, or complex shapes. If your brand requires a textured or gradient button, a hybrid approach is usually the better answer: an image button with meaningful alt text and a styled text link underneath or behind it as a fallback.
How a bulletproof button is built
The anatomy is short. You need an anchor with a destination, inline styles for the visual treatment, and one Outlook-specific property:
<a href="https://example.com/guide?utm_source=newsletter&utm_medium=email&utm_campaign=spring"
style="display:inline-block; background-color:#1a5cff; color:#ffffff;
font-family:Arial, Helvetica, sans-serif; font-size:16px; font-weight:bold;
text-decoration:none; padding:14px 28px; border-radius:6px;
mso-padding-alt:14px 28px;">
Get the guide
</a>
A few details worth knowing:
display:inline-blockmakes padding behave like a button rather than a text run.mso-padding-alttells Outlook desktop how to pad the link, since Outlook handles padding on anchors inconsistently.- Padding on the anchor, not the wrapping cell, is generally more reliable across clients. If you pad the table cell instead, some clients render the clickable area smaller than the visual button.
- The VML fallback (
v:roundrect) is what gives Outlook desktop rounded corners. It is worth adding if rounded corners are part of your brand; if you can live with square corners in Outlook, you can skip it and keep the markup simpler.
Design decisions that keep buttons visible and clickable
Four decisions do most of the work:
- Tap target size. Around 44×44 pixels is the commonly cited accessibility guideline for touch targets. A button with 14px vertical padding and 16px text clears that comfortably. Thin text links do not.
- Contrast. Aim for WCAG AA contrast of at least 4.5:1 between label and background. A mid-blue button with white text often fails this; a darker blue passes. If you are picking colors for the whole email, the same logic applies to body text — see the notes on choosing email colors that work in every inbox.
- Width behavior. Auto-width buttons look better on desktop; full-width buttons are easier to tap on mobile. A common compromise is a button that is auto-width above a breakpoint and full-width below it.
- Label copy. "Get the guide" tells the reader what happens next. "Click here" does not, and it is also poor for accessibility, since screen reader users often navigate by link text alone.
One more: test that your button does not collapse into its background in dark mode. If your button is dark blue on a white email, some clients will keep the button dark and invert the surrounding background — usually fine. The problem case is a light button on a light background after inversion.
Step-by-step: from blank email to a tested button
- Decide the single action. One email, one primary action. If you cannot name it in a sentence, the button copy will be vague.
- Choose image or code. Code unless brand requirements force an image. If you go with an image, plan the fallback at the same time.
- Build or paste the button block. In Mailerflow's visual block editor you can drop in a button block and save it as part of a reusable template, so the same button styling carries across campaigns without re-coding.
- Add alt text and a text fallback. For image buttons, alt text is mandatory. For code buttons, the label is the fallback.
- Set the link. Add UTM parameters, use a deep link if the destination supports it, and check the URL resolves before sending.
- Test rendering. Run the email through a rendering tool to catch client-specific breakage.
- Check dark mode and mobile. Both are common sources of invisible or untappable buttons.
- Send a seed test. Send to yourself on Gmail, Outlook, and Apple Mail, and open with images off at least once.
If you are working without a designer, the AI email builder can generate a complete responsive design from a description — including the button styling — which gives you a reasonable starting point to edit rather than a blank canvas.
Examples: three button builds and when to use each
Example 1: Simple code button. Solid background, white label, 6px radius, auto width. This is the default for newsletter CTAs and most promotional sends. It renders reliably, it is easy to edit, and it survives image blocking. The trade-off is visual simplicity.
Example 2: Hybrid button. An image button with descriptive alt text, wrapped in a link, with a styled text link below it. Use this when the button design is part of the brand and a plain rectangle will not do. You get brand fidelity when images load and a usable fallback when they do not. The cost is more markup and two things to keep in sync.
Example 3: Text-link button. An underlined link styled to look button-like, or a plain text link. Use this for plain-text versions, high-deliverability sends, or transactional emails where a heavy button would feel out of place. It is the most robust option and the least visually distinctive.
For a fuller picture of how these choices interact with the rest of the layout, the guidance on email design best practices for layouts that work everywhere is a useful companion.
Common mistakes with email buttons
| Mistake | Fix |
|---|---|
Using <button> or <input type="button"> |
Use a styled <a> tag instead |
Relying on a <style> block for button CSS |
Inline the critical styles; some clients strip <style> |
| No alt text on an image button | Write alt text that describes the action, not the image |
| Fixed pixel width that breaks on mobile | Use auto width or a media query for full-width on small screens |
| Low-contrast label | Check contrast against the background; aim for 4.5:1 |
| Three competing buttons in one section | Pick one primary CTA per section |
| Untagged or broken links | Test the URL and add UTM parameters |
| No fallback when images are off | Use a code button or a hybrid with a text link |
| Ignoring Outlook's padding quirks | Add mso-padding-alt to the anchor |
| Using a background image for the button | Use a background color; background images are unreliable |
Pre-send checklist for email buttons
- Label is clear and action-oriented
- Contrast between label and background passes 4.5:1
- Tap target is at least roughly 44×44 px
- Alt text present on any image button
- Text fallback works with images off
- Link tested and UTM-tagged
- Renders correctly in Outlook, Gmail, and Apple Mail
- Dark mode checked
- Mobile width checked
- One primary CTA per section
- Button styling reused from a template for consistency
FAQ
Why does my button disappear in Outlook?
Most often because it is an image and images are blocked by default in Outlook desktop, or because the button relies on CSS that Outlook ignores. Switching to a code-based button with a text label fixes both cases.
Should I use an image or a code button?
Use a code button unless brand requirements make an image necessary. If you need the image, use a hybrid: image button, descriptive alt text, and a styled text link as a fallback.
How do I make a button full-width on mobile?
Set the button to auto width by default, then use a media query to set display:block; width:100%; below your mobile breakpoint. Test on a real phone, not just a preview pane.
Do email buttons work in dark mode?
They do, but colors can shift. Check that your button background and label do not collapse into each other after a client applies its dark mode treatment, and avoid light buttons on light backgrounds.
Can I use a <button> tag in email?
No, not reliably. Form elements are unsupported or stripped across major clients. Use a styled anchor tag.
How many buttons should an email have?
One primary button per section is usually enough. Multiple competing buttons in the same block dilute the click, and repeating the same CTA in two or three places down a long email is generally more effective than adding a second, different action.
If you would rather start from a working design than from an empty template, Mailerflow's AI email builder turns a short description into a complete responsive email with button styling, subject lines, and preview text you can edit. The free plan is a reasonable place to test it.


