When you create an email using drag-and-drop or module-based tools, you are actually generating an HTML email.
There are two main types of email you can send and receive: plain text email (that’s exactly what they sound like – any email that contains plain old text with no formatting) and HTML email, which is HTML and Are formatted and styled inline using CSS.
HTML email is easy to locate – Most of the style, multimedia marketing emails in your inbox are HTML emails.
Download Now: Email Marketing Planning Template
As a marketer, you’ve probably compared HTML email to plain-text email and realized that there are different benefits to each type. HTML emails are not inherently better than plaintext emails, and in different situations, both types can be part of a successful email marketing program.
Here’s what an HTML looks like on the front-end. Click on the HTML button to see the code behind it.
In this article, we’ll cover how to get started creating HTML emails, regardless of your level of experience and comfort with coding, and share some free templates you can use. Let’s dive
How to Create HTML Email
The good news: You really don’t need to know how to code to create HTML emails.
Most tools that create and send emails (such as HubSpot) will provide pre-formatted, ready-to-go HTML templates that enable you to design emails without needing to access the actual code on the back-end.
As you make changes in the email editor, those changes will be automatically coded into the final product. If you don’t have an email designer on your team, but still want to send professional-looking marketing emails, email creation tools like this one are a perfect choice.
Still want to create an HTML email from the beginning
If you’re comfortable with HTML and want more direct control over your email’s code, most email tools will allow you to directly import HTML files for use as custom email templates.
There are a variety of free HTML email templates available on the web (some of which we’ll share below), and it’s usually fairly easy to adapt a template to an email creation tool if you know your way about an HTML file. . your choice.
To fully create an HTML email, you need to have advanced knowledge of HTML (or work with a developer who does this). This guide provides a solid overview of how to code basic HTML email. Since the process of creating an HTML email from scratch can be quite involved, we recommend working with a developer or using a pre-built HTML email template instead.
Developing an HTML email specifically for HubSpot
If you are developing an HTML email template specifically for use in HubSpot, you will want to make sure that you include the required HubSpot tokens (these ensure that your emails can be customized and are subject to CAN-spam laws). corresponds to). You can find a complete guide to coding HubSpot-specific HTML email templates here. Or alternatively, just use our simple do-it-yourself email editor.
Now that you understand the basics of developing HTML email, let’s look at some important best practices that you should keep in mind. No matter what method you plan to use to create HTML emails, these best practices will help improve the design, user experience, and deliverability of your email.
Make sure your HTML email is responsive for different screen sizes and devices.
How your email appears in a user’s inbox depends on a variety of factors.
One of the biggest and most obvious factors is the screen size of the device it is being viewed on. An email that looks amazing and well formatted on desktop can easily develop into a tangle of fuzzy, overlapping text and images when viewed on a smartphone screen.
To ensure that your HTML emails look the way you want across a wide spectrum of screen sizes, the best thing you can do is to keep your layout simple and straightforward. When you start adding more complex elements like multiple columns and floated images, it becomes more difficult to translate the format of your email for different screen sizes.
If you decide to develop a more complex layout, make sure you are actively working out how elements will be rearranged to suit different screen sizes. For example, if your email is displayed as multi-column on desktop, the same structure won’t work on mobile—you’ll need to use media queries to determine how elements are displayed on different screen sizes. Will be done.
Remember, developing a truly responsive HTML email goes beyond the structure and format of your message. Think about what the overall user experience of your email will be like on different devices.