• Home
  • About
Epic Whim
 
Skip to content
  • Home
  • About

Tag: standards compliance

No comments

Coding for HTML Emails

  By David March 2, 2016 October 16, 2023 HTML Email

As you may or may not know, writing HTML for email is a special kind of bizarre. Most of the email clients we use on our computers are firmly and staunchly set with both feet in the last century, but our phones are using blazing-fast, standards-compliant browsers to render emails. So when writing an HTML email, you have to somehow make it simultaneously zippy-pretty on a stone age Microsoft Word HTML renderer and rock-solid on a space age Apple Safari HTML renderer.  This leaves you with one real option: abandon your <div>s and <span>s in favor of tables, an HTML development technique that went out of style on the web when Internet Explorer 5 came out.  In the year 2000.

Woof.

Plus you have to throw in such insanity as a Gmail that likes to remove (or ignore, the verdict is still out) your HTML headers. This means that the typical responsive tactic of creating CSS breakpoints won’t work in Gmail.  Yahoo Mail also does weird things with CSS, ignoring media queries unless the designer uses an archaic selector in their CSS to make it work.

You know, two of the most popular web-based email services. No big.

And then there’s Outlook, which has the most bizarre problem (in my opinion): its older versions are actually more standards compliant than its newer versions. That’s because, in 2007, Outlook stopped using Internet Explorer to render its emails (which, of course had its own set of problems) and began using Microsoft Word to do it instead.  A word processor.

This has made a lot of people very angry and has been widely regarded as a bad move.

Microsoft has defended their decision as being more secure (debatable) and easier to use (also debatable).  Basically, it let them make it look flashier without actually expending any effort in the ordeal.

¯\_(ツ)_/¯

Anyway, all of this underscores one major point: there is no set of established standards for HTML email.  And this is a problem.

HTML for the web, for instance, is governed by the W3C (The World Wide Web Consortium) and the WHATWG (Web Hypertext Application Technologies Working Group), who make a public specification document which browser manufacturers (for the most part) do their best to follow.  HTML5 adoption, for example, is almost universal after only two years in the wild; most features were even adopted before the spec was finalized.

CSS is also operated by the W3C.  The latest version of most modules (CSS3) is, again, quite nearly universal, and in fact forms the backbone of responsive web pages and email through media queries.

JavaScript is maintained by the Mozilla Foundation, famously the organization behind Firefox.  They release new features periodically, and cross-browser support for the language is, once more, nearly universal.

But HTML email?

(You can’t hear them, but those are crickets.)

An attempt has been made to form an Email Standards Project to govern the development of HTML email, but its website hasn’t been updated in nearly five years.  And it’s unlikely to pick up any more steam; developers are a niche enough community to begin with, but HTML Email developers?  Forget it.  At best we’re considered practitioners of a dying art; at worst, we’re called spammers.

We’re not spammers, but I’ll take that “last practitioner of a dying art” thing.  That means we can be in the same company as Obi-Wan Kenobi and Superman.

Tagged   compliance complaints, html email, standards, standards compliance
  • RSS Reel World Theology

    • Releases, Returns, and Resurrections (ICYMI April 20, 2024) April 21, 2024 David Atwell
    • The Disney and Jon Favreau Show, featuring Me (ICYMI April 13, 2024) April 14, 2024 David Atwell
    • Science Fiction, Science Fantasy, and Science Fact (ICYMI April 6, 2024) April 6, 2024 David Atwell
    • Freaky Friday news; plus, Swift Quakes, Hot Takes, and Remakes (ICYMI March 30, 2024) March 30, 2024 David Atwell
  • Archives

    • February 2025
    • March 2024
    • February 2024
    • January 2024
    • December 2023
    • October 2023
    • July 2023
    • June 2023
    • May 2023
    • April 2023
    • January 2023
    • December 2022
    • November 2022
    • October 2022
    • August 2022
    • August 2020
    • June 2020
    • May 2020
    • June 2017
    • May 2017
    • November 2016
    • October 2016
    • August 2016
    • July 2016
    • April 2016
    • March 2016
    • February 2016
  • Categories

    • ADHD
    • AI and Machine Learning
    • Current Events
    • Debunking
    • HTML Email
    • Indianapolis
    • Linkblog
    • Meta
    • Nintendo
    • PCA
    • Personal Updates
    • Politics
    • Redeeming Culture Meta
    • RPGs
    • Science
    • Sermons
    • Site News
    • Social Media
    • Technology
    • Theology
    • TV
    • Work Theory
    • Writing Prompt Responses
  • Recent Posts

    • Hope for the Future: Ding Dong, HB1136 is Dead
    • A Theological and Astronomical Fact Check
    • Linkblog | Google apologizes for ‘missing the mark’ after Gemini generated racially diverse Nazis
    • Linkblog | Jon Stewart Tackles The Biden-Trump Rematch That Nobody Wants | The Daily Show
    • A Lunar Itinerary
  • Recent Comments

    • David A. on INTEGRITAS
    • Carol thoma moore on INTEGRITAS
    • Cory Howell on Linkblog | Google apologizes for ‘missing the mark’ after Gemini generated racially diverse Nazis
    • Cory Howell on A Theological and Astronomical Fact Check
    • David A. on A Theological and Astronomical Fact Check
  • Archives

    • February 2025
    • March 2024
    • February 2024
    • January 2024
    • December 2023
    • October 2023
    • July 2023
    • June 2023
    • May 2023
    • April 2023
    • January 2023
    • December 2022
    • November 2022
    • October 2022
    • August 2022
    • August 2020
    • June 2020
    • May 2020
    • June 2017
    • May 2017
    • November 2016
    • October 2016
    • August 2016
    • July 2016
    • April 2016
    • March 2016
    • February 2016
  • Categories

    • ADHD
    • AI and Machine Learning
    • Current Events
    • Debunking
    • HTML Email
    • Indianapolis
    • Linkblog
    • Meta
    • Nintendo
    • PCA
    • Personal Updates
    • Politics
    • Redeeming Culture Meta
    • RPGs
    • Science
    • Sermons
    • Site News
    • Social Media
    • Technology
    • Theology
    • TV
    • Work Theory
    • Writing Prompt Responses
  • Meta

    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org
  • Home
  • About
  The personal blog of David Atwell, the Redeeming Culture guy, coder, and overall geek.    
Powered by Parabola & WordPress.