An HTML email is a type of email formatted using HyperText Markup Language (HTML). Unlike plain text emails, HTML emails contain dynamic and sometimes more complex elements such as graphics, videas, and other multimedia elements.
You can probably look at your email inbox and group your emails into two categories: the garden-variety text-only emails you generally get from colleagues or family members and the “fancy” emails you get from companies.
For marketing and business purposes, HTML emails are preferred to create interactive communications for optimal engagement and conversions.
Now that you know why, let’s talk about how to create HTML emails. There are several ways you can go about creating an HTML email.
The third option is one of the most effective ones as it doesn’t require any knowledge of code or HTML in order to design responsive and engaging email communications. However, let’s explore all three.
While this is more time-consuming and can have a larger learning curve, it does give you the most creative freedom. It is an excellent choice if you have a specific vision in mind and simply can’t find a template that can be adjusted to match it.
When it comes to creating a new HTML email, writing code from scratch is as freestyle as it gets - no training wheels, no guidelines, just you and an open page. That could sound perfect if you’re the type for an adventure or for creativity, or it could sound terrifying if you’re new to HTML.
This method isn’t particularly common and is used mostly by designers who are highly experienced in HTML already.
Regardless of how you choose to create an email, you’ll need to plan ahead first. Defining your goal and your target audience are important first steps to understanding how to tailor your email content accordingly.
Additionally, when starting from scratch it helps to draw a mock-up of the basic structure of your email. This includes where you want images, text, headers, subheaders, and so on. This will serve as your guide.
You can source inspiration from many places, Really Good Emails being one of them.
To create HTML emails from scratch, you'll need the right tools that will help you write, test, and optimize your emails. This includes a text editor and an email testing tool. A text editor will support you in writing clean and efficient HTML and CSS code. Some popular options include VSCode, Sublime, or Brackets.
Email testing tools such as Litmus or Email on Acid, help ensure that once your emails are build they look good across different email clients and devices. When starting from scratch, testing your emails is crucial.
Begin writing the HTML code that will serve as the structure of your email. This is where your layout begins to come to life. Tables are often used to build HTML emails as many email clients, like Outlook, do not support modern CSS layouts. You can adjust or replicate these tables however you choose.
Once you've built the structure of your email, it’s time to start filling in the pieces. Start at the top with your header. The email header will contain brand-defining elements such as your logo.
Once you have clear guidance on the copy of your email, you will begin to add your main content, images or other interactive elements, and CTA’s.
The content of the footer will depend heavily on your sending platform and your country’s legal requirements. Once you meet those requirements, you can add other relevant information, such as social and website links.
Once your email is built, if you haven’t already done so throughout, it’s time to implement your brand’s color scheme, font, text size, and any other elements that will ensure that your recipients know who the email is coming from.
There’s a lot that happens between these steps, and many lines of code that go into your finished email. But for those who want full creative control over their HTML emails, the steps above can be your guide.