New
Are you ready for Agentforce? Take our assessment to find out today!
    • Expertise
          • Product

          • Sales Cloud
          • Service Cloud
          • Account Engagement
          • Marketing Cloud Next
          • Revenue Cloud
          • Agentforce
          • Data 360 (Data Cloud)
          • CRM Analytics
          • Tableau Next
          • Experience Cloud
          • Industry

          • Manufacturing
          • Healthcare
          • High Tech
          • Financial Services
          • Media & Entertainment
    • Solutions
      • Consulting
      • Implementation
      • Managed Services
      • Health Check
      • Training
    • About Nebula
      • We Are Nebula
      • Meet the Team
      • Join Our Team
    • Resources
    • Login
    • Get in Touch
Share:

Become an HTML email marketing expert

by Nebula Consulting
28th June 2022 • 5 min read
Nebula Consulting
Share:

As a digital marketer, you have likely come across HTML at some point, and let’s face it, it can look a bit overwhelming when you are unfamiliar with how to code. 

Whether you are trying to just understand how HTML works or want to up your email marketing game by adding new features but are not sure where to start, this post is for you. It will provide you with the best practices, resources, and HTML generators to get you started plus make you look like an HTML pro.

TOP TIP: Bookmark this tab so you have quick access when you are working on your next email.

Let’s start with some best practices – 

  • Always make a copy of the original HTML document before making changes.

It might sound obvious but it is easy to forget when you are focused on getting an email out. You don’t want to be in a position where you have edited the HTML but when testing the email you realise what you thought would work doesn’t and now you don’t have the original (working) HTML file.

  • Keep it simple.

Unfortunately, complex email designs are not always compatible with HTML so your email might look good in theory but when it hits your customer’s inbox it might look completely different. To avoid this, keep your designs clear and simple, make sure they are as accessible as possible, and always test before sending.

  • Don’t forget the Alt tag.

Talking about accessibility, another best practice is remembering the sometimes forgotten ‘Alt’ tags (alternative text). The Alt tag is an HTML attribute that sits with images in your emails to provide a text alternative to what the image is displaying. This is incredibly important as it allows your email to reach a wider audience including people who are unable to see images and helps them gain a better understanding of your email.

Another use-case of using the Alt tag is for screen readers such as smartwatches and browsers that block images, as it provides a description of what the image is converting and avoids any gaps in your email’s narrative. 

Resources & Generators for HTML & CSS

There are loads of resources and generators available. We have gathered the most useful websites and tools for email marketing below plus a handy table for your next email build.

  • W3 Schools

    In my opinion, this is the go-to website for learning how to code. They offer HTML & CSS tutorials, references, and exercises that are simple to understand and include all aspects of HTML. So if you are wondering how to do something, this is the place to look. 

interface of w3 school's html homepage

 

  • Email Layout Calculator

    Want to add a new email section that includes multiple tables but don’t know how? This website removes the need to code but provides a handy calculator to do it for you. All you need to do is provide the width of your email, how many columns you want to include, and the gutter (or commonly referred to as the padding) between the columns, and done, the HTML & CSS is generated for you. More on generators below.

interface of email layout calculator

 

  • Can I email….

    HTML & CSS consists of loads of different attributes and elements that allow you to style and structure your email but not all of them are supported by email clients. To make life easier, ‘can I email’ breaks down popular email clients and tells you if your code is supported or not. This can get you an idea of what design is going to work in your email before you test it which will save you a lot of time.

search bar with text 'background-image' chart below with email clients and green, amber or red boxes underneath depending if the element is supported by the email client or not

 

  • How to Target Email Clients

    Helps you find supporting code for specific email clients, so you can make sure your emails will render correctly. If you check the email client tab when looking at your email reporting in Account Engagement, you can identify which clients your customers are using most, and then you have the ability to go deeper into your code and tailor your emails accordingly.

Pardot reporting on email client tab, displaying a pie chart that is filtered by email client breakdown

 

  • HTML Crush

    Sometimes if you have been working on an HTML document for a long time or there are multiple people working on the same email. Unwanted pieces of code can embed themselves within the HTML, leaving unwanted blank space, extra rows, or different code. HTML Crush will identify any unused/extra code and minify your document so it is tidy, organised, and clean. This also helps Account Engagement render the email when you are pasting the code into the HTML tab in the email editor as the code is simple for Account Engagement to read.

image is split into two, on the left shows messy HTML code and on the right shows the HTML tidy once it has been generated

Fancy some more?

Generator What does it do?
Bulletproof Email Buttons Creates advanced button styling using enhanced VML and CSS (for background images)
Build HTML Lists for Email  Builds semantically correct, naturally responsive HTML lists for emails 
Bulletproof Background Images  Creates code for background images 
The Mailto Link Generator  Generates snippets for mailto links including CC, BSS, Subject Line, and Body Text 
PX to EM Conversion  Helps you work out the em sizes from pixels (or vice versa) 
Charts  Creates bar charts in HTML 
HTML to Text Email Converter Converts HTML to a plain text version for your email sends
What Does It Paste? Shows unwanted formatting that is copied over when copying text/content
Email Countdown Timers Creates countdown clocks for you to embed in your emails 
Calndr  Generates calendar links 
Share Link Generator Creates Facebook share links, Twitter “tweet this” links, LinkedIn share links, Pinterest “pin this” links, and email “mailto” links

 

There you have my top tips for understanding more HTML in email marketing. If you find yourself looking for further knowledge or need someone to build your next emails, don’t hesitate to contact us – you’ll be in great hands.

Find related resources by topic

Marketing

You may also be interested in

Fix the Foundations: Success in the Agentic Era Marketing Edition
Blog
Marketing

Fix the Foundations: Success in the Agentic Era Marketing Edition

We hear the announcements and on repeat about how the Agentic Era is here to transform the B2B and B2C landscapes. These changes will enable…

4 min read Read Blog
Laying the Right Foundations
Success Story
Account Engagement Sales Cloud

Laying the Right Foundations

Complex processes and cautious stakeholders hindered Redwheel's CRM adoption. Nebula's Account Engagement and Salesforce audits mapped the journey, restoring confidence and delivering a strategic roadmap for a powerful, sales-enabled CRM.

May 27, 2025 Read Customer Story
How to Avoid Completion Action Limits in Account Engagement (Pardot) Using Engagement Studio
Blog
Marketing

How to Avoid Completion Action Limits in Account Engagement (Pardot) Using Engagement Studio

Conditional completion actions and completion actions, while powerful, can quickly consume the available limits on your forms and form handlers. If you’ve been creating and managing…

3 min read Read Blog
Aligning Marketing and Sales for a Global Insurer
Success Story
Account Engagement Sales Cloud

Aligning Marketing and Sales for a Global Insurer

Poor email deliverability and disconnected data misaligned Lockton's sales and marketing. Nebula's Salesforce and Account Engagement integration established governance, delivering a 97% delivery rate, 25 empowered users, and transparent insights.

Apr 30, 2025 Read Customer Story
Upgrade Your Form UX with Toggle Switches
Blog
Marketing

Upgrade Your Form UX with Toggle Switches

If you would like to modernise your forms, provide a slicker user experience, and match contemporary web design, follow our mini guide that helps you…

2 min read Read Blog
Creating a seamless membership experience
Success Story
Account Engagement Sales Cloud Service Cloud

Creating a seamless membership experience

Data silos and disparate systems hindered the World Travel and Tourism Council's membership experience. Nebula's Cvent integration, record cleansing and automated invoicing delivered rapid efficiency, unified data, and a 10-year partnership.

Jan 30, 2025 Read Customer Story
Account Engagement Landing Page Conversion Mastery
Blog
Marketing

Account Engagement Landing Page Conversion Mastery

Building pages that truly perform in Account Engagement isn't just about clicking buttons; it's about strategy, technical finesse, and empathy for the user. Here’s my…

5 min read Read Blog
Targeted Sales Enablement for Users
Success Story
Account Engagement CRM Analytics Sales Cloud

Targeted Sales Enablement for Users

Stale opportunities and missing data delayed Clarion Events' pipeline. Nebula's Einstein Next Best Action delivered intuitive guidance, surging stage moves by 132%, doubling activities, capturing crucial VAT details, and boosting CRM adoption.

Jan 3, 2025 Read Customer Story
5 Hidden Snags in Account Engagement
Blog
Marketing

5 Hidden Snags in Account Engagement

Managing Salesforce Account Engagement (Pardot) requires more than just marketing knowledge. Even in a well-established org, you can sometimes hit some invisible walls. Below are…

4 min read Read Blog
5 new Marketing Cloud Next features we’re excited to try
Blog
Marketing

5 new Marketing Cloud Next features we’re excited to try

The Spring ’26 release is here, and it’s a significant milestone for Marketing Cloud Next (also known as Agentforce Marketing). This release focuses on making…

4 min read Read Blog
Nebula

Our journey started in 2012 with a clear vision and core values. Nebula is dedicated to empowering our customers through fostering relationships founded on collaboration, flexibility, and trust.

  • We Are Nebula
  • Resources
  • Join Our Team
  • Terms and Conditions
  • Privacy Policy
The Space Aldgate,
Irongate House,
22-30 Dukes Place,
London EC3A 7LP
+44 207 112 8026
Get in Touch
Copyright © 2026 Nebula Consulting. All Rights Reserved.