Crafting HTML Email
()
About this ebook
Learn the secrets that HTML email pros use to create effective emails that work well in every single email client!
Emails are part of almost every web project, from password reset to order confirmations to marketing emails. Yet coding HTML emails is dreaded among even the most experienced web developers as they can be tricky, given the multiple quirks of different email clients. This short book explains modern HTML email best practices, from how to deal with multiple email clients, to adding interactivity (yes you can do that!), to accessibility, and more. We'll finish with a complete case study: a redesign of SitePoint's very own email newsletter. Stop worrying about HTML email and learn to love the craft!
Remi Parmentier
Remi Parmentier is a French front-end developer working at his own small web development agency, Tilt Studio. He loves to learn, and enjoys even more to teach. This led him on a joyful quest to understand and demystify HTML email coding. Remi runs workshops, gives talks and writes articles on his blog to help others code better HTML emails.
Related to Crafting HTML Email
Related ebooks
Email Newsletter Strategies For Profit Rating: 0 out of 5 stars0 ratingsWeb Development Essentials: A Beginner's Guide to HTML, CSS, JavaScript, and SEO: HTML 101 : Beginner to pro Rating: 0 out of 5 stars0 ratingsExpressive Websites Rating: 0 out of 5 stars0 ratingsA Pocket Guide to HTML Email Rating: 0 out of 5 stars0 ratingsHTML & CSS: Learn the Fundaments in 7 Days Rating: 4 out of 5 stars4/5Web Design With Html5, a Primer Rating: 0 out of 5 stars0 ratingsHTML & CSS For Beginners: Your Step by Step Guide to Easily HTML & CSS Programming in 7 Days Rating: 4 out of 5 stars4/5HTML Skills Guide Rating: 0 out of 5 stars0 ratingsHtml For Beginners: The Complete Step-By-Step Guide To Learning, Understanding, And Mastering HTML Programming For Web Designing Rating: 0 out of 5 stars0 ratingsExcel and the World Wide Web Straight to the Point Rating: 0 out of 5 stars0 ratingsInstant HTML5 Responsive Table Design How-to Rating: 0 out of 5 stars0 ratingsGmail For Beginners: The Complete Step-By-Step Guide To Understanding And Using Gmail Like A Pro Rating: 0 out of 5 stars0 ratingsHTML5 & CSS3 For The Real World: Powerful HTML5 and CSS3 Techniques You Can Use Today! Rating: 0 out of 5 stars0 ratingsThe New Email Revolution: Save Time, Make Money, and Write Emails People Actually Want to Read! Rating: 5 out of 5 stars5/5Computer Programming Languages for Beginners Rating: 0 out of 5 stars0 ratingsInstant Razor View Engine How-to Rating: 0 out of 5 stars0 ratingsHTML5 & CSS3 For Beginners: Your Guide To Easily Learn HTML5 & CSS3 Programming in 7 Days Rating: 4 out of 5 stars4/5Instant Jsoup How-to Rating: 0 out of 5 stars0 ratingsInstant Magento Performance Optimization How-to Rating: 0 out of 5 stars0 ratingsjQuery Mobile Web Development Essentials - Third Edition Rating: 0 out of 5 stars0 ratingsInstant Silverlight 5 Animation Rating: 0 out of 5 stars0 ratingsEmail Marketing Succcess: How To Build An Email List And Create Successful Email Marketing Campaigns Rating: 4 out of 5 stars4/5SQL Server 2017 Integration Services Cookbook Rating: 0 out of 5 stars0 ratingsHTML for the Business Developer: with JavaServer Pages, PHP, ASP.NET, CGI, and JavaScript Rating: 3 out of 5 stars3/5Email Marketing Success Rating: 0 out of 5 stars0 ratingsResponsive Media in HTML5 Rating: 0 out of 5 stars0 ratingsDesigning Next Generation Web Projects with CSS3 Rating: 0 out of 5 stars0 ratings
Programming For You
Game Development with Unreal Engine 5: Learn the Basics of Game Development in Unreal Engine 5 (English Edition) Rating: 0 out of 5 stars0 ratingsPython: Learn Python in 24 Hours Rating: 4 out of 5 stars4/5Java for Beginners: A Crash Course to Learn Java Programming in 1 Week Rating: 5 out of 5 stars5/5Python: For Beginners A Crash Course Guide To Learn Python in 1 Week Rating: 4 out of 5 stars4/5Learn to Code. Get a Job. The Ultimate Guide to Learning and Getting Hired as a Developer. Rating: 5 out of 5 stars5/5SQL QuickStart Guide: The Simplified Beginner's Guide to Managing, Analyzing, and Manipulating Data With SQL Rating: 4 out of 5 stars4/5Python for Beginners: Learn the Fundamentals of Computer Programming Rating: 0 out of 5 stars0 ratingsCoding All-in-One For Dummies Rating: 4 out of 5 stars4/5Python Programming : How to Code Python Fast In Just 24 Hours With 7 Simple Steps Rating: 4 out of 5 stars4/5Learn SQL in 24 Hours Rating: 5 out of 5 stars5/5PYTHON: Practical Python Programming For Beginners & Experts With Hands-on Project Rating: 5 out of 5 stars5/5Excel : The Ultimate Comprehensive Step-By-Step Guide to the Basics of Excel Programming: 1 Rating: 5 out of 5 stars5/5Learn HTML Programming in 7 Days: Ultimate Beginners Guide to Build and Design Your Own Website Rating: 4 out of 5 stars4/5SQL: For Beginners: Your Guide To Easily Learn SQL Programming in 7 Days Rating: 5 out of 5 stars5/5Data Structures and Algorithm Analysis in Java, Third Edition Rating: 4 out of 5 stars4/5Python QuickStart Guide: The Simplified Beginner's Guide to Python Programming Using Hands-On Projects and Real-World Applications Rating: 0 out of 5 stars0 ratingsLinux: Learn in 24 Hours Rating: 5 out of 5 stars5/5Grokking Algorithms: An illustrated guide for programmers and other curious people Rating: 4 out of 5 stars4/5Learn JavaScript in 24 Hours Rating: 3 out of 5 stars3/5C++ Learn in 24 Hours Rating: 0 out of 5 stars0 ratingsC# 7.0 All-in-One For Dummies Rating: 0 out of 5 stars0 ratings
Reviews for Crafting HTML Email
0 ratings0 reviews
Book preview
Crafting HTML Email - Remi Parmentier
Preface
Who Should Read This Book?
This book is for anyone who wants to better understand how to write effective HTML emails. No prior experience of creating emails is required, but you should have experience of HTML and CSS.
Conventions Used
Code Samples
Code in this book is displayed using a fixed-width font, like so:
A Perfect Summer's Day
It was a lovely day for a walk in the park.
The birds were singing and the kids were all back at school.
You’ll notice that we’ve used certain layout styles throughout this book to signify different types of information. Look out for the following items.
Tips, Notes, and Warnings
Hey, You!
Tips provide helpful little pointers.
Ahem, Excuse Me ...
Notes are useful asides that are related—but not critical—to the topic at hand. Think of them as extra tidbits of information.
Make Sure You Always ...
... pay attention to these important points.
Watch Out!
Warnings highlight any gotchas that are likely to trip you up along the way.
Supplementary Materials
https://www.sitepoint.com/community/ are SitePoint’s forums, for help on any tricky problems.
books@sitepoint.com is our email address, should you need to contact us to report a problem, or for any other reason.
Getting Started
HTML email is a part of pretty much every project, but even many of the most experienced web developers dread having to work with it. This book will explore the ins and outs of coding modern HTML emails, showing you how to love the craft rather than fear it.
Email Isn’t Dead
Email was born in 1971. And it died in 2007, according to FastCompany. Or in 2009, according to The Wall Street Journal. Or maybe it was in 2011, according to Mark Zuckerberg. No one really seems to know.
What we do know, however, is that email is still highly effective:
Email drives an ROI of $36 for every dollar spent
, according to email marketing platform Litmus.
Four billion people use email daily, according to data platform Statista.
In 2021, 41.5% of brands interrogated in the Litmus State of Email report consider email marketing to be critical to company success—an 8.7% increase from just three years earlier.
The following diagram shows the percentage of brands for whom email marketing is critical to success, rising from 32.8% in 2018 to 41.5% in 2021.
Brands whose email martketing is critical to company success, rising from 32.8% in 2018 to 41.5% in 2021According to Harvard law professor Jonathan Zittrain (quoted by The Atlantic), one reason email is still so strong after all these years is that Email is the last great unowned technology
. This arguably makes it more resilient and robust than any proprietary technology. So it certainly seems that email is here to stay!
HTML Emails Aren’t Stuck in the 1990s
Discussions surrounding the coding of HTML emails on social networks never fail: someone will always snarkily comment on how HTML emails are stuck in the 1990s. And there’s nothing that irritates me more—because it’s completely wrong!
A collection of snarky comments is pictured below, sourced from my 2019 "Think Like an Email Geek" presentation.
“Email is coded the way we coded the web in 1999” and other snarky comments about HTML emailsWhen I code an HTML email, I use plenty of modern styles: media queries (including ones for dark mode), CSS gradients and background images, Flexbox, and even CSS Grid. I also use semantic HTML: heading elements