The Simplest Way to Use HTML and With Styling In G-Mail


First and foremost, there are a lot of limitations. For example, if you are used to writing CSS on external stylesheets, that won’t work here. In fact, you can do embedded <style> tags to do CSS in there, which works, but can’t be trusted. G-Mail and other big name web mail clients strip out embedded CSS, and only allow certain CSS characteristics in general.

Integrate HTML Into E-Mail

There is a site called Litmus which tests your e-mail across a bunch of different e-mail clients to see how universal it is. I however. mostly just want to demonstrate this concept via G-Mail.


If you are curious about the HTML behind this e-mail, I have linked to the GitHub repo here.

Full Stack Web Developer && Creative Thinker && Flatiron School Grad && Continuous Learner

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store