
– All images have to be hosted online somewhere - they can’t be included in the email.

Then, in the HTML, link to that image hosted online, which is what I have done for the “Binkman’s Books” logo in my sample email below.

So, either use the standard fonts they provide or, if you want another font for something like a logo, make an image of that text. This list (which may not be perfectly current) shows HTML tags that are supported and some that are not. The post I linked to is up to date with that change. Note: Gmail changed their support for CSS in 2016, so older posts online may claim they don’t support things they actually do. For more details about exactly what you can and should use in Gmail, see this page. – You can’t use external style sheets, though you can use inline CSS (e.g., ) as well as embedded CSS in the head. Gmail is a little picky with what it will allow as HTML in its emails, so here are a few important guidelines: HTML can be either written directly or, possibly, composed with an HTML authoring tool. Creating and sending your HTML email in Gmail Step 1: Write your HTML.įor this example, I’m using some boilerplate HTML adapted for our purposes.

Let’s run through a quick example of that. By “rendered” HTML, I mean what the HTML looks like in the browser, with colors, fonts, and images in place. You create your page in HTML, load it into a browser, copy the contents of the browser, and then paste it into Gmail’s compose window. Once you have your HTML written, the process is basically just a matter of copy and paste. So, the technique below is a way to work around that Gmail limitation. This is in contrast to an email service provider like Mailchimp or Constant Contact, in which you can edit the raw HTML. On its own, the Gmail Compose window doesn’t let you edit the HTML “behind” the message. Option 1: Copy/paste rendered HTML into Gmail Compose Window Every extension you add to Gmail crowds the interface just a tad more. My favorite technique is #2 because it gives me the most control and doesn’t require an extension.
VIEW HTML OF EMAIL GMAIL CODE
Paste your HTML code into the Gmail Compose window using Chrome’s Developer Tools.Copy/paste the rendered HTML into the Gmail Compose window.There are three ways you can load the Gmail Compose window with your custom HTML.
VIEW HTML OF EMAIL GMAIL HOW TO
So, I’ll show you how to work around that. So, HTML on its own won’t help you format the shape or appearance of your emails. If you take HTML code and paste it “raw” into the Gmail compose window, it won’t render anything else - it will just appear as HTML code. Why importing HTML into Gmail “doesn’t work” The benefit of doing so is that you can design email campaigns and then edit and send them directly inside Gmail, either as a campaign or just as part of regular email correspondence.Īnd once you’ve done that, you can save your HTML email as a template to use again.
