Chapter 4Coding Your Emails

With a well-thought-out content and design plan in place, it’s time to dirty our hands with HTML and CSS. By the end of this chapter we’ll have produced a solid email template that works in all the major email clients.

What’s so hard about HTML emails?

You’ve built a ton of websites, you can write HTML and CSS in your sleep, and you have a big poster on your wall of Jeffrey Zeldman.[3] So how hard can it be to build an HTML email? Well, it’s harder than you might think.

In the broader web design world, we’ve been through the browser wars where Netscape and Internet Explorer fought each other to introduce competing ways to code just about everything. Thanks to the Web Standards Project and associated efforts, modern ...

Get Create Stunning HTML Email That Just Works now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.