Build an HTML Email Template From Scratch (2023)

The best way to understand any process is to carry it out yourself, from the ground up. Today, we’re going to do just that with email design, by building a simple HTML email template from scratch.

Popular HTML Email Templates on Envato Elements

If you’re looking for a ready-made, professional solution, grab one of our popular HTML email templateson Envato Elements. We have hundreds of responsive options all included with your Elements membership, with easy-to-customize features to get you started.

Envato Elements is free for 7 days, no commitment. If you don't love it, cancel any time during your free trial and you won’t be charged.

Build an HTML Email Template From Scratch (1)Build an HTML Email Template From Scratch (2)Build an HTML Email Template From Scratch (3)

Not what you’re looking for? No problem, this tutorial will teach you how to build your own!

“The sooner you stop fighting the quirks of email, the sooner you can use them to your advantage.” – Caity G. O'Connor

TheHTML Email Template We’re Building

Here’s the HTML email we’ll be building, feel free to fork the pen and use it yourself. Bear in mind that when we’re viewing this template through a web browser we’re much less likely to run into problems than with email clients.

1.Begin Your HTML Email Document

To begin with, it’s worth mentioning where I pulled some of the resources from.

Now, as we discussed in the previous tutorial, you’ll need to begin your HTML email template with an HTML doctype, and the correct language for your subscribers. In this case we are going to use the HTML5 doctype, set our language to English with <html lang="en">, and also include the XML and Microsoft Office namespaces (the xmlns bits). We are going to need these a few lines down, as I'll explain.

<!DOCTYPE html><html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:o="urn:schemas-microsoft-com:office:office"><head> <meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="x-apple-disable-message-reformatting"><title></title><!--[if mso]><noscript><xml> <o:OfficeDocumentSettings><o:PixelsPerInch>96</o:PixelsPerInch></o:OfficeDocumentSettings></xml></noscript><![endif]--><style>table, td, div, h1, p {font-family: Arial, sans-serif;}table, td {border:2px solid #000000 !important;}</style></head></html>

There are quite a few things in the code above, but it's the bare minimum you need to ensure your final email renders beautifully everywhere.

Firstly, we have a few meta tags to ensure the right text encoding, viewport scaling across different mobile devices, and one to stop Apple from adjusting the size in a strange way in their mail apps.

Underneath the <title></title> tag you'll see some code between <!--[if mso]> and <![endif]-->. Placing code inside those two tags means that only Microsoft Outlook on Windows will apply it (mso = 'MicrosoftOutlook'). And in there, we have a small amount of XML that will ensure that PNG images display at the right size in Outlook on Windows. The xlmns settings that we put in the html tag ensures this code gets interpreted properly.

Underneath that, we have a style tag with just a couple of CSS rules. The first sets the font for all our main elements, and this is for the benefit of Gmail webmail, which will override our font settings unless we include this. If you end up changing your fonts later, be sure to make the change here too.

Finally, we are including table, td {border:2px solid #000000 !important;} which will draw a border on everything. This is purely so that we can see what we are doing as we build, and we'll remove it at the end.

(Video) The RIGHT WAY to Build HTML Email Templates 2022

With that sorted, we can commence building the rest of the structure.

2. Create the Body and Main Table

First, we’ll add an overall structure for our email, starting with a <body> tag. Add the code below directly underneath the </head> tag:

<body style="margin:0;padding:0;"> <table role="presentation" style="width:100%;border-collapse:collapse;border:0;border-spacing:0;background:#ffffff;"><tr><td align="center" style="padding:0;">Hello!</td></tr></table></body>

You can see the margin and padding on the body tag are set to zero to avoid any unexpected space.

We’ve also added a table with a width of 100%. This acts as a true body tag for our email, because the body tag is sometimes removed by email clients. Apply any 'body' background colour that you want to this table tag.

All our tables will be set to role="presentation". This makes them more accessible, as it tells screen readers to treat it as a visual table, not a data table.

We have set border-collapse to collapse, and both border and border-spacing to zero to avoid any unexpected space in the table.

You'll notice we are using <td align="center">, and if you're already familiar with HTML you might be wondering why, since align is actually a deprecated HTML property. We use it because email clients vary so widely in their level of CSS support, and often we still need to use deprecated HTML to ensure everything displays properly everywhere. In this instance, it is because Outlook for Windows does not obey margin:0 auto; in CSS to center things.

Finally, make sure you always set the padding on your table cells to zero in the inline styles, e.g. <td style="padding:0;">, otherwise email clients will all add their own amount of padding. When we do add padding ourselves, we can adjust this value, but if there is no padding to be applied to any of the sides, you must explicitly set it to zero.

Build an HTML Email Template From Scratch (4)Build an HTML Email Template From Scratch (5)Build an HTML Email Template From Scratch (6)

A Note on Using CSS Padding Shorthand

When using CSS padding on table cells, you can reliably write it three ways. Either specify one value, e.g. padding:20px which will apply 20 pixels of padding to every side of your cell (top, right, bottom and left), or specify padding in pairs, i.e. padding: 10px 20px, which will add 10 pixels padding to both top and bottom, plus 20 pixels to both left and right. If neither of those are suitable, you should declare every side, i.e.padding: 10px 10px 0 5px. In all cases you must set each value, even if some of them are zero. Additionally, only specifying three values can have unpredictable results across email clients.

Padding works reliably on table cells in all email clients, but if you are having trouble with padding, there is no need to resort to spacer GIFs. In a pinch you can use spacer divs or spacer cells. Just include a non-breaking space character (&nbsp;) inside, set a matchingheightandline height, and be sure to includemso-line-height-rule:exactlywhich will ensure Microsoft Outlook for Windows renders it at the pixel-perfect size. (If you are creating horizontal space, you need to specify awidthinstead of height, and may need to also addfont-size:0;.) Here is an example or a spacer cell inside a row:

<tr><td style="line-height:10px;height:10px;mso-line-height-rule:exactly;">&nbsp;</td></tr>

And here is a spacer div:

<div style="line-height:10px;height:10px;mso-line-height-rule:exactly;">&nbsp;</div>

Adding the Main Table

Now let's place a table of 602 pixels wide inside the container table.

600 pixels is a safe maximum width for your emails to display comfortably within most desktop and webmail clients on most screen resolutions, and we're adding 2 pixels so we can have a 1 pixel border around the outside, which adds a pixel on either side.

We’ll replace our little ‘Hello!’ greeting with this table.

<table role="presentation" style="width:602px;border-collapse:collapse;border:1px solid #cccccc;border-spacing:0;text-align:left;"> <tr><td style="padding:0;">Hello!</td></tr></table>

Great! Now we have our outer table, and our main content table sitting inside, ready for some rows of content.

(Video) Build Responsive HTML Email Templates with HTML Tables & CSS

Build an HTML Email Template From Scratch (7)Build an HTML Email Template From Scratch (8)Build an HTML Email Template From Scratch (9)

3. Create the HTML Email Template Structure and Header

In our email design we can see that the layout is divided into a few logical sections, so we’ll create a row for each.

Let’s duplicate the single row in the last table we added so that we have three in total, by copying everything between (and including) the <tr> and </tr> and pasting it two times underneath.

I've changed the 'Hello!' text to read Row 1, Row 2 and Row 3 so it should now look like this:

<table role="presentation" style="width:602px;border-collapse:collapse;border:1px solid #cccccc;border-spacing:0;text-align:left;"><tr><td style="padding:0;">Row 1</td></tr><tr><td style="padding:0;">Row 2</td></tr><tr><td style="padding:0;">Row 3</td></tr></table>
Build an HTML Email Template From Scratch (10)Build an HTML Email Template From Scratch (11)Build an HTML Email Template From Scratch (12)

Now we’ll colour them according to the design by adding a background CSS property to the style tag. Always remember to use the full six characters of a hexadecimal code like #ffffff, as three character shorthand like #fff won’t always work in all email clients.

<table role="presentation" style="width:602px;border-collapse:collapse;border:1px solid #cccccc;border-spacing:0;text-align:left;"><tr><td style="padding:0;background:#70bbd9;">Row 1</td></tr><tr><td style="padding:0;">Row 2</td></tr><tr><td style="padding:0;background:#ee4c50;">Row 3</td></tr></table>
Build an HTML Email Template From Scratch (13)Build an HTML Email Template From Scratch (14)Build an HTML Email Template From Scratch (15)

Ok, next up in our email design we’re going to focus on Row 1. On the cell, let's change the padding from 0 to 40px 0 30px 0. Then inside the cell we’ll insert our image:

<td align="center" style="padding:40px 0 30px 0;background:#70bbd9;"><img src="images/h1.png" alt="" width="300" style="height:auto;display:block;" /></td>

Always specify the width of your images using the HTML width attribute rather than CSS, e.g. width="300" as seen above, rather than style="width:300px;". If you don't, Microsoft Outlook for Windows will display your image at its physical size.

We have also set the image height to autoto avoid any squishing, and display to block, which prevents gaps from appearing underneath it in some email clients.

Finally, if your image contains important information that isn't mentioned in your email's text, be sure to add a description of it to the alt tag so that it will be announced by screen readers to those using them.

Note: Images don't always load and alt text isn’t always visually displayed as a fallback, so any crucial information should always be included as live text in your email rather than being embedded in an image.

And that’s our HTML header done!

Build an HTML Email Template From Scratch (16)Build an HTML Email Template From Scratch (17)Build an HTML Email Template From Scratch (18)

4. Create the Content Area

Moving on from the header, let’s now concentrate on our HTML email’s content area. First off, we’ll add some padding to the Row 2’s cell so that the table inside has some space around it, as per our design, so that it now looks like this:

<tr><td style="padding:36px 30px 42px 30px;">Row 2</td></tr>
Build an HTML Email Template From Scratch (19)Build an HTML Email Template From Scratch (20)Build an HTML Email Template From Scratch (21)

Now we’ll replace the ‘Row 2’ text with another table to nest our main content inside. When building HTML email using tables, we need to nest them because colspan and rowspan are not widely supported across email clients.

<table role="presentation" style="width:100%;border-collapse:collapse;border:0;border-spacing:0;"><tr><td style="padding:0;">Row 1</td></tr><tr><td style="padding:0;">Row 2</td></tr></table>

We’ve set the width of this table to 100%. It’s good practice to use percentage widths rather than using a pixel value wherever possible because this will help you further down the track if you want to make your email responsive, or even if you simply need to adjust the width of your email later on. Percentage widths will automatically adapt to a new container size, whereas pixel widths would all need to be individually updated.

Build an HTML Email Template From Scratch (22)Build an HTML Email Template From Scratch (23)Build an HTML Email Template From Scratch (24)

Now we’ll add our content to the top row, which is a heading, a paragraph of text, and a final paragraph with a link inside. At this stage, we aren’t adding any styling at all to these elements.

Build an HTML Email Template From Scratch (25)Build an HTML Email Template From Scratch (26)Build an HTML Email Template From Scratch (27)

Replace the 'Row 1' text with the following:

(Video) HTML Email Template - Responsive HTML Email 2022

<h1>Creating Email Magic</h1><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. In tempus adipiscing felis, sit amet blandit ipsum volutpat sed. Morbi porttitor, eget accumsan et dictum, nisi libero ultricies ipsum, posuere neque at erat.</p><p><a href="http://www.example.com">In tempus felis blandit</a></p>

Next we’re going to add our two columns of content to Row 2. Because we want a gap in between these two cells, we’ll create a three-column table with an empty cell between the two outer columns. There are a few ways to create this layout, but this one is the most reliable for our purposes.

As much as I like to stick to percentages, when you have content that is a specific size, it can be tricky to convert it to a percentage (in this example, the columns would be 48.1% which could become confusing). For this reason, since our two images are 260px wide, we’ll create columns that are also 260px wide, with a 20px margin cell in the middle. (This will total 540px, which is the 600px width of our table minus the padding of 30px on either side.) Be sure to zero your font-size and line-height and add a non-breaking space character &nbsp; in the middle cell.

We’ll also set the vertical-align to topfor both cells so that they will vertically align to the top, even if one column has more text than the other. The default vertical alignment ismiddle.

Replace 'Row 2' with this table:

<table role="presentation" style="width:100%;border-collapse:collapse;border:0;border-spacing:0;"><tr><td style="width:260px;padding:0;vertical-align:top;">Column 1</td><td style="width:20px;padding:0;font-size:0;line-height:0;">&nbsp;</td><td style="width:260px;padding:0;vertical-align:top;">Column 2</td></tr></table>
Build an HTML Email Template From Scratch (28)Build an HTML Email Template From Scratch (29)Build an HTML Email Template From Scratch (30)

Now let’s add our images and content to those columns. Margins are very well supported on <p> tags across all email clients, so we will wrap our text and images in <p> tags and adjust the spacing between them using marginlater when we add all our text styling.

Let’s add content to Columns 1 and 2 so that the whole table now looks like this:

<table role="presentation" style="width:100%;border-collapse:collapse;border:0;border-spacing:0;"><tr><td style="width:260px;padding:0;vertical-align:top;"><p><img src="images/left.gif" alt="" width="260" style="height:auto;display:block;" /></p><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. In tempus adipiscing felis, sit amet blandit ipsum volutpat sed. Morbi porttitor, eget accumsan dictum, est nisi libero ultricies ipsum, in posuere mauris neque at erat.</p><p><a href="http://www.example.com">Blandit ipsum volutpat sed</a></p></td><td style="width:20px;padding:0;font-size:0;line-height:0;">&nbsp;</td><td style="width:260px;padding:0;vertical-align:top;"><p><img src="images/right.gif" alt="" width="260" style="height:auto;display:block;" /></p><p>Morbi porttitor, eget est accumsan dictum, nisi libero ultricies ipsum, in posuere mauris neque at erat. Lorem ipsum dolor sit amet, consectetur adipiscing elit. In tempus adipiscing felis, sit amet blandit ipsum volutpat sed.</p><p><a href="http://www.example.com">In tempus felis blandit</a></p></td></tr></table>

Here we’ve set the width of the images using the HTML width attribute again, just like we did when we inserted the header image.

Build an HTML Email Template From Scratch (31)Build an HTML Email Template From Scratch (32)Build an HTML Email Template From Scratch (33)

5.Style the Email Template Footer

Now we’ll add our padding to the footer row.

<tr><td style="padding:30px;background:#ee4c50;">Row 3</td></tr>
Build an HTML Email Template From Scratch (34)Build an HTML Email Template From Scratch (35)Build an HTML Email Template From Scratch (36)

Inside that cell, we’ll replace the ‘Row 3’ text with another table to get two columns, each 50% wide, with the left set to align="left" and right to align="right" so that the content in each will be pinned to those sides and give us a balanced email design.

<table role="presentation" style="width:100%;border-collapse:collapse;border:0;border-spacing:0;"><tr><td style="padding:0;width:50%;" align="left">Left Column</td><td style="padding:0;width:50%;" align="right">Right Column</td></tr></table>
Build an HTML Email Template From Scratch (37)Build an HTML Email Template From Scratch (38)Build an HTML Email Template From Scratch (39)

Replace 'Left Column' with a paragraph of text:

<p>&reg; Someone, Somewhere 2021<br/><a href="http://www.example.com">Unsubscribe</a></p>

We’ll create another little table for our social media icons, as it's the best way to get the most precise spacing that renders properly everywhere. Replace the 'Right Column' text with the table below.

You'll notice we aren't specifying a table width, and this is so that the width of the table will be determined by the cells within. They are each 38px wide (the width of our icons) plus 10px padding on the left.

<table role="presentation" style="border-collapse:collapse;border:0;border-spacing:0;"><tr><td style="padding:0 0 0 10px;width:38px;"><a href="http://www.twitter.com/"><img src="images/tw.png" alt="Twitter" width="38" style="height:auto;display:block;border:0;" /></a></td><td style="padding:0 0 0 10px;width:38px;"><a href="http://www.facebook.com/"><img src="images/fb.png" alt="Facebook" width="38" style="height:auto;display:block;border:0;" /></a></td></tr></table>
Build an HTML Email Template From Scratch (40)Build an HTML Email Template From Scratch (41)Build an HTML Email Template From Scratch (42)

And there we have it; our HTML email template layout is complete!

6. Style the Text

Styling the text within our HTML email template is a really important step. First, let's look at the top row of content with our h1 and introductory text.

Important Note when using Paragraph and Heading Tags

When using paragraph and heading tags (p, h1, h2, etc.) you must specify your top and bottom margin settings, otherwise each email client will apply their own wildly different default margins to these elements. You also need to make sure your top and bottom margins are set to zero if you don't want any at all, in which case you would set your heading to margin:0;. If you only want a bottom margin, you should still set the top margin to zero, e.g. margin:0 0 10px 0;.

(Video) HTML Email Template From Scratch with HTML Tables and CSS

With that in mind, we'll set our desired margins on all our tags, and we also want to set the text colour to be #153643, which we can apply to the cell, as everything inside will inherit that colour. After these changes, the whole cell looks like this:

<td style="padding:0 0 36px 0;color:#153643;"><h1 style="font-size:24px;margin:0 0 20px 0;font-family:Arial,sans-serif;">Creating Email Magic</h1><p style="margin:0 0 12px 0;font-size:16px;line-height:24px;font-family:Arial,sans-serif;">Lorem ipsum dolor sit amet, consectetur adipiscing elit. In tempus adipiscing felis, sit amet blandit ipsum volutpat sed. Morbi porttitor, eget accumsan et dictum, nisi libero ultricies ipsum, posuere neque at erat.</p><p style="margin:0;font-size:16px;line-height:24px;font-family:Arial,sans-serif;"><a href="http://www.example.com" style="color:#ee4c50;text-decoration:underline;">In tempus felis blandit</a></p></td>

You'll notice above that we have also set thefont-familyon every individual h1 and p element, and you might be wondering why we can't just set this on the body or table tag. This is because some webmail clients will override your font if you don't set them inline on each paragraph or heading element. There are other considerations and approaches to this issue, but for simplicity's sake and to ensure our email renders perfectly everywhere at this stage, we will set it inline on each element.

Now, moving down to our two-column area, add the color to each of the 260px wide cells so that they both look like this:

<td style="width:260px;padding:0;vertical-align:top;color:#153643;">

As above, we'll add some text styling and margins to our paragraphs and links, and set a base font size to the entire table. All together, the table now looks like this:

<table role="presentation" style="width:100%;border-collapse:collapse;border:0;border-spacing:0;"><tr><td style="width:260px;padding:0;vertical-align:top;color:#153643;"><p style="margin:0 0 25px 0;font-size:16px;line-height:24px;font-family:Arial,sans-serif;"><img src="images/left.gif" alt="" width="260" style="height:auto;display:block;" /></p><p style="margin:0 0 12px 0;font-size:16px;line-height:24px;font-family:Arial,sans-serif;">Lorem ipsum dolor sit amet, consectetur adipiscing elit. In tempus adipiscing felis, sit amet blandit ipsum volutpat sed. Morbi porttitor, eget accumsan dictum, est nisi libero ultricies ipsum, in posuere mauris neque at erat.</p><p style="margin:0;font-size:16px;line-height:24px;font-family:Arial,sans-serif;"><a href="http://www.example.com" style="color:#ee4c50;text-decoration:underline;">Blandit ipsum volutpat sed</a></p></td><td style="width:20px;padding:0;font-size:0;line-height:0;">&nbsp;</td><td style="width:260px;padding:0;vertical-align:top;color:#153643;"><p style="margin:0 0 25px 0;font-size:16px;line-height:24px;font-family:Arial,sans-serif;"><img src="images/right.gif" alt="" width="260" style="height:auto;display:block;" /></p><p style="margin:0 0 12px 0;font-size:16px;line-height:24px;font-family:Arial,sans-serif;">Morbi porttitor, eget est accumsan dictum, nisi libero ultricies ipsum, in posuere mauris neque at erat. Lorem ipsum dolor sit amet, consectetur adipiscing elit. In tempus adipiscing felis, sit amet blandit ipsum volutpat sed.</p><p style="margin:0;font-size:16px;line-height:24px;font-family:Arial,sans-serif;"><a href="http://www.example.com" style="color:#ee4c50;text-decoration:underline;">In tempus felis blandit</a></p></td></tr></table>

Finally, we'll style the footer. Firstly, we'll add some font styling to the main footer table, inside our red footer cell with the 30px padding, so that it now reads:

<td style="padding:30px;background:#ee4c50;"> <table role="presentation" style="width:100%;border-collapse:collapse;border:0;border-spacing:0;font-size:9px;font-family:Arial,sans-serif;">

In the left column of this table, we can update our paragraph and link to include style and colour:

<p style="margin:0;font-size:14px;line-height:16px;font-family:Arial,sans-serif;color:#ffffff;">&reg; Someone, Somewhere 2021<br/><a href="http://www.example.com" style="color:#ffffff;text-decoration:underline;">Unsubscribe</a></p>

And on our social media icons, we'll style each link to be white, so that if the images don't load, any alt text will be visible on the red background. Adjust each link so that they look like this:

<a href="http://www.twitter.com/" style="color:#ffffff;">

and

<a href="http://www.facebook.com/" style="color:#ffffff;">
Build an HTML Email Template From Scratch (43)Build an HTML Email Template From Scratch (44)Build an HTML Email Template From Scratch (45)

And there we have it! Everything is in.

7.Run Some Tests

At this point, it's a good idea to run your HTML code through an email testing service like Litmus, orEmail on Acid. Leaving the borders on all the tables and cells can be helpful to see what's happening in each email client. (Depending on how you are testing your email, you might need to remotely host your images first, and insert the full remote URLs for each image into your code. Refer to your testing service's website to learn how to test your HTML.)

Here are some of my test results from Email on Acid:

Build an HTML Email Template From Scratch (46)Build an HTML Email Template From Scratch (47)Build an HTML Email Template From Scratch (48)

Now it's time to turn off the borders and see the email design looking beautiful. In the style tag in the head, remove the line that reads:

table, td {border:2px solid #000000 !important;} 
Build an HTML Email Template From Scratch (49)Build an HTML Email Template From Scratch (50)Build an HTML Email Template From Scratch (51)

And that’s it!

You’ve Created a Simple HTML Email!

Before we call it a day, if you have used any comments in your CSS in the head of your file for any reason, get rid of them. Some email clients can choke on CSS comments so it’s wisest not to include them.

Now is a good time to do a final test with Litmus, orEmail on Acid, and then your HTML email is ready to send!

(Video) HTML Email Template Built the RIGHT WAY - 2022!

Download Email Templates

If you need more options, then one of our responsive email templates may be just what you need. Subscribe to Envato Elements and you’ll be givenunlimited access to hundreds of customizable email templates, as well as stock photography, icons, graphics, and many other creative assets for your projects.

  • 18 Great Campaign Monitor Templates for Email and NewslettersBrittany Jezouit14 May 2019
  • Best Mailchimp Templates to Level Up Your Business Email Newsletter 2022Brad Smith24 May 2022
  • Mastering MailChimp: Best Templates and Email Tips for MailChimp NewslettersBrittany Jezouit10 Sep 2018
  • 20+ Best Responsive Mailchimp Templates for Mobile EmailBrenda Barron11 Aug 2020
  • 15+ MailChimp Templates for Every Purpose and OccasionPaula Borowska14 Jun 2022

Learn More About HTML Email

To take what you’ve learned to the next level! Check out our Mastering HTML Emaillearning guide for more tutorials on HTML email templates, email design, coding responsive email, accessibility, marketing, transactional email,email service providers (ESPs), development workflow tips, and more!

  • What You Should Know About HTML EmailNicole Merlin10 Jun 2013
  • The Complete Guide to Designing for EmailNicole Merlin13 Dec 2013
  • A Beginner’s Guide to Email Accessibility (Checklist + Resources)Stig Morten Myre11 Sep 2018
  • Creating a Future-Proof Responsive Email Without Media QueriesNicole Merlin21 Oct 2021
  • How to Formulate an Email Design and Development StrategyPaul Airy10 Sep 2018
  • How to Boost Email Conversions With Personalization and Dynamic ContentJustin Khoo14 Sep 2018
  • Design Considerations for Multiple Email Clients and DevicesJaina Mistry12 Sep 2018

FAQs

How do I create a custom HTML email? ›

How to create an HTML email
  1. Open an application where you can type HTML code. ...
  2. Begin your HTML document type. ...
  3. Create the body and main table. ...
  4. Design the email template structure and header. ...
  5. Create the content area. ...
  6. Change the style of the email template footer. ...
  7. Style the text. ...
  8. Test the email.
Nov 2, 2021

How do I get an email template in HTML? ›

In Microsoft Outlook, double-click to open an email. You'll see an “Actions” menu under the “Message” tab. Click on that menu and select the “Other Actions,” then click on “View Source” to see the HTML code. Regardless of what your default text editor is, the HTML file will open as a .

How do I create an email template in quick steps? ›

Create an email message template
  1. On the Home menu, click New E-mail. ...
  2. In the message body, enter the content that you want.
  3. In the message window, click File > Save As.
  4. In the Save As dialog box, in the Save as type list, click Outlook Template.
  5. In the File name box, type a name for your template, and then click Save.

How do I create an email template in HTML and CSS? ›

The first and most important step to start with email templates is, One must use HTML tables to build the basic structure of an email template. Creating a table ensures that the content sent is not distorted on forwarding or mailing using different email applications.

What does an HTML email look like? ›

HTML emails have everything plain text emails don't have: color, style, images, and sometimes multimedia. HTML emails are similar to webpages, only they're delivered to people's email inboxes. As such, you can design your HTML email to match your brand and give your readers a more visually engaging experience.

What is a HTML email template? ›

An email template is an HTML file composed of reusable code modules, making it as easy as copying and pasting your copy, links, and image URLs to create an email. Let's break that down. An email template is an HTML file. HTML—or hypertext markup language—is the code that defines the structure and content in an email.

How do I create an HTML email in Gmail? ›

Let's Insert HTML into Gmail
  1. Grab the code that you saved as an HTML file and open it in your browser of choice. ...
  2. From there, you simply need to copy the HTML as it has rendered in the browser.
  3. Paste that into your new Gmail compose window.
  4. Press send, and then you're all done.
Nov 12, 2020

How do I create an HTML email in Outlook? ›

On the Tools menu, click Options, and then click the Mail Format tab. Under Message Format, in the Compose in this message format list, click HTML or Plain Text, and then click OK.

How do I create a fillable template in Outlook? ›

To design an Outlook form
  1. On the Developer tab, in the Custom Forms group, click Design a Form, and then select the standard form on which to base your custom form.
  2. Add the fields, controls, and code that you want to your new form. ...
  3. Set form attributes for the custom form.
  4. Publish the form.
Jan 21, 2022

How do I create a dynamic email template in Outlook? ›

In this article
  1. Compose an email message as you normally would in Outlook.
  2. Select Dynamics 365 to open the Dynamics 365 pane.
  3. Select More commands. ...
  4. Select Add Template.
  5. Select the record type. ...
  6. Select the search box ( ...
  7. Use the search to find a template and then select it.
Jul 21, 2022

What makes a good email template? ›

A good template is visually simple.

A responsive design, single-column layout works consistently in both desktop and mobile email. Moreover, using white space and generously-spaced elements lend both visual clarity and focus, but also make your links more usable for someone tapping with a finger.

What is custom email template? ›

A custom email template is an email template that a company creates using its brand identity — colors, fonts, etc. — to use multiple times by adding different text and images to meet the particular email marketing goal.

How do I make an HTML email in Word? ›

To create an HTML email with Microsoft Word, open MS Word, click on “File”, “Save As”, choose where you want to save the file and then change the “Save As Type:” option to “Web Page, Filtered” as in the screen shot below. You may receive the following message saying that it will remove “office specific” tags.

How do I become an HTML email developer? ›

The main qualifications you need to start a career as an email developer is a strong background in HTML and a bachelor's degree in computer science. While you can find positions without the degree, formal education can help you with the background knowledge needed for using the tools of the trade.

What is responsive HTML email template? ›

Responsive emails are characterized by elements appearing below one another, rather than next to each other, when displayed on a smaller screen. In order to achieve this, it is necessary that you create separate elements. Say, you want to create two columns of content.

What is HTML format example? ›

HTML provides us ability to format text without using CSS. There are many formatting tags in HTML. These tags are used to make text bold, italicized, or underlined.
...
Element nameDescription
<em>This is a logical tag which is used to display content in italic.
<mark>This tag is used to highlight text.
12 more rows

What HTML is allowed in email? ›

List of allowed html-tags and their attributes: a: href, title, name, style, id, class, shape, coords, alt, target.

Is Gmail HTML or text? ›

In Gmail, you can easily send messages using either rich HTML formatting or plain text. Plain-text formats strip formatting, as well as colors and images. Here's how to send plain-text messages through the web version of Gmail.

What is the email template format? ›

Email templates allow you to customize the formatting and text of emails sent by users who share your content. Templates can be text-only, or HTML and text, in which case the user's email client will determine which is displayed.

How does email template look like? ›

An email template is a pre-defined email layout, that may already include content like images or text. Rather than create a new email from scratch each time, you can use a template as a base. Templates are also handy for making sure email designs follow brand guidelines.

Does Google have email templates? ›

Open Gmail and click Compose. Templates. To insert a template, under Insert template, choose a saved template to insert in your email. Compose the rest of your message and click Send.

Can I create an email template in Gmail? ›

Create Templates From the Compose Window

Click the “Template” button at the bottom right of the compose window. 2. Select the “Save as Template” option. This will save a copy of the email to your Template library, allowing you to make edits and updates before saving.

How do I send an HTML email? ›

About This Article
  1. Type your code into a text editor like Notepad or TextEdit.
  2. Copy the code to your clipboard.
  3. Sign in to your email account.
  4. Enable HTML email if using a desktop client.
  5. Click Compose or New.
  6. Enter a recipient and email subject.
  7. Right-click the message body and select Paste.
  8. Send the message.
Aug 18, 2022

Can you send an HTML email from Gmail? ›

Yes, you can send HTML emails through Gmail. It is possible to add custom HTML to Gmail. You can add limited ways to add some HTML through the Gmail compose box, and free tools for importing HTML into Gmail.

How do I create an HTML email in Dreamweaver? ›

Jumpstart with Dreamweaver CC's Email Starter Templates
  1. Choose File > New to open the New Document dialog.
  2. Select the Starter Templates category.
  3. From the Sample Folder column, choose Email Templates.
  4. Select the desired template.
  5. Click Create.
May 5, 2016

How do I create an HTML email in Outlook? ›

Steps
  1. Create an HTML template, use existing HTML code, or search for a pre-formatted HTML template.
  2. Insert the HTML file into your Outlook email message. View written steps. ...
  3. (Optional) Send a test HTML message and improve, if needed.
  4. Send the final version of your HTML message to your Office 365 Group or Google Group .
May 7, 2020

How do I make a template email in Gmail? ›

Create or change a template
  1. Open Gmail and click Compose.
  2. In the Compose window, enter your template text.
  3. Click More. Templates.
  4. Choose an option: To create a new template, click Save draft as template Save as new template. ...
  5. (Optional) To send an email, compose your message and click Send.

Can I use HTML code in Gmail? ›

Since Gmail was introduced way back in 2004, many changes have been made to the email provider. One of the first changes was to remove the HTML editor and just keep the WYSIWYG editor. While Gmail doesn't offer the functionality of an HTML editor, it does still support HTML.

How do I send an HTML email? ›

About This Article
  1. Type your code into a text editor like Notepad or TextEdit.
  2. Copy the code to your clipboard.
  3. Sign in to your email account.
  4. Enable HTML email if using a desktop client.
  5. Click Compose or New.
  6. Enter a recipient and email subject.
  7. Right-click the message body and select Paste.
  8. Send the message.
Aug 18, 2022

How do I make an HTML email in Word? ›

To create an HTML email with Microsoft Word, open MS Word, click on “File”, “Save As”, choose where you want to save the file and then change the “Save As Type:” option to “Web Page, Filtered” as in the screen shot below. You may receive the following message saying that it will remove “office specific” tags.

How do I convert plain text to HTML email? ›

On the Tools menu, click Options, and then click the Mail Format tab. Under Message Format, in the Compose in this message format list, click HTML or Plain Text, and then click OK.

How do I become an HTML email developer? ›

The main qualifications you need to start a career as an email developer is a strong background in HTML and a bachelor's degree in computer science. While you can find positions without the degree, formal education can help you with the background knowledge needed for using the tools of the trade.

What program do you use to write HTML? ›

Adobe Dreamweaver CC

Adobe Dreamweaver CC has a robust code editing tool that supports various markup languages, such as HTML, CSS, and JavaScript. In addition, the software allows users to choose between the text-based and WYSIWYG editor or to combine both.

How can you create a HTML document explain with example? ›

An HTML document defines the structure of HTML web page. It contains two distinct parts, the head, and the body. The head contains information about the document. The body part contains the content of the document, which gets displayed.

What is the best free HTML editor? ›

Best HTML Editors
  • Atom is a free, open-source code editor developed by the GitHub team and maintained by the GitHub community. ...
  • Brackets is another widely popular HTML editor for programmers compatible with different operating systems like Windows, Mac, and Linux. ...
  • Sublime Text is the advanced version of Notepad + +.

How can I create a template? ›

Create a template based on an existing template or document

Click the File tab, and then click New. Under Available templates, click New from existing. Click a template or a document that is similar to the one that you want to create, and then click Create New.

How do you create a professional looking email? ›

What Makes Your Emails Look Professional
  1. Professional Email Address. A professional email address stands out from other usernames in your inbox. ...
  2. An Email Signature. ...
  3. Using Familiar Fonts. ...
  4. A Mobile-Friendly Design. ...
  5. Select a Host. ...
  6. Connect to an Email Client. ...
  7. Choose a Format for Usernames. ...
  8. Connect to Your Email Automation Software.
Feb 4, 2021

How do I make a fancy email? ›

  1. 40 examples of beautiful email design to inspire your own newsletter. ...
  2. Experiment with color gradients. ...
  3. Have fun with animation. ...
  4. Separate information with color blocking. ...
  5. Keep it simple. ...
  6. Let your content shine. ...
  7. Develop a strong color palette. ...
  8. Make it pop with color.

Videos

1. HTML Email Template Built From Scratch
(Responsive HTML Email)
2. The RIGHT WAY to create HTML emails | TUTORIAL [2021]
(Keep coding)
3. Complete Html email template tutorial series part 1
(Theemailtemplate Support)
4. Code An HTML Email Template From Scratch
(Responsive HTML Email)
5. Create an HTML email in minutes
(Email and Landing Page Design with BEE)
6. Create an HTML email template with Unlayer in under 5 minutes.
(Unlayer)
Top Articles
Latest Posts
Article information

Author: Ray Christiansen

Last Updated: 09/06/2023

Views: 6537

Rating: 4.9 / 5 (69 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Ray Christiansen

Birthday: 1998-05-04

Address: Apt. 814 34339 Sauer Islands, Hirtheville, GA 02446-8771

Phone: +337636892828

Job: Lead Hospitality Designer

Hobby: Urban exploration, Tai chi, Lockpicking, Fashion, Gunsmithing, Pottery, Geocaching

Introduction: My name is Ray Christiansen, I am a fair, good, cute, gentle, vast, glamorous, excited person who loves writing and wants to share my knowledge and understanding with you.