Best practices for HTML email design to ensure emails display correctly and consistently on desktop and mobile devices. Visit http://blog.lyris.com/ to accelerate your digital & email marketing campaigns.
HTML for Emails – What you need to know | Lyris Blog
1. 1
Lyris Connections Blog
Excerpts From Our Most Popular Posts
HTML for Emails – What you Need to Know
By Lyris Marketing Team
Designing HTML emails for a newsletter isn’t as difficult as it used to be in the
past. With the emergence of visual HTML editors like Dreamweaver, Coffee Cup,
TextMate, and others, you can now build and view your templates side-by-side.
However, you will still need to have a good understanding of HTML in order to
use these tools.
If you are fortunate enough to have an in-house designer or
design team, then you won’t need to worry too much about
coding email templates yourself. This is a great benefit,
as you can simply upload or copy and paste the HTML
template into your Email Service Provider (ESP) platform
and start creating your message. If you are even luckier
and your ESP uses a WYSIWYG editor, small changes are
easily incorporated since you don’t need to know HTML; the
changes you make on the visual editor will automatically
change the HTML code.
However, if it was only that simple we would all be doing it. Designing a regular template is not the same when it
comes to designing an email template. Many HTML and CSS properties used in modern Web design are not supported
in email and email programs like Outlook, which can cause rendering and display problems with your email message.
Therefore, it’s advisable to adhere to some basic best practices for HTML email design to avoid any complications with
the way your emails display.
Here is a list of key points to bear in mind that will help you achieve the best results:
HTML Coding
1. Use tables for layout and design of your message and make sure all your <table> tags are opened and closed
properly to avoid any issues. A maximum table with a width of 600 pixels is also suggested.
2. Use inline CSS for styling, as browser-based services like Gmail or Hotmail will strip out your DOCTYPE, BODY, and
HEAD tags.
3. Avoid using shorthand, e.g. <p style=”font: italic 14px Verdana; color: #000”></p> Instead, use <p style=”font-
style: italic; font-size: 14px; font-family: Verdana; color: #000000”></p>
• Avoid complex colspans and rowspans as these will make revisions a nightmare if you try to reuse
the templates.
• Avoid Java script, DIV, Flash, or any dynamic scripts – most email clients will not allow these to
function properly.