{"id":9543,"date":"2024-07-05T07:00:00","date_gmt":"2024-07-05T01:30:00","guid":{"rendered":"https:\/\/email.uplers.com\/blogs\/?p=9543"},"modified":"2025-02-05T15:57:27","modified_gmt":"2025-02-05T10:27:27","slug":"create-html-email","status":"publish","type":"post","link":"https:\/\/email.uplers.com\/blog\/create-html-email\/","title":{"rendered":"A Complete Guide to Create Your Own HTML Email"},"content":{"rendered":"\n<p><strong>[This post was originally published on May 2022. It has been updated on<\/strong> <strong>5th July, 2024]<\/strong><\/p>\n\n\n\n<p>Developing an HTML email is like the metamorphosis of a tadpole into a frog, undergoing many changes from concept to final delivery. Once the email marketer defines the purpose, the copywriter drafts the email according to the wireframe. Then, the email designer creates the design based on the wireframe. After design approval, the email developer transforms the PSD, AI, or PDF file into a pixel-perfect HTML email. This file is uploaded to the ESP and deployed after thorough testing to ensure flawless rendering.<\/p>\n\n\n\n<p>Since multiple people are involved in <a href=\"https:\/\/email.uplers.com\/blog\/best-practices-for-creating-html-email-links\/\" target=\"_blank\" rel=\"noreferrer noopener\">creating an HTML email<\/a>, even minor changes can take a long time to resolve. It typically takes 4-6 hours to develop an email template, and the intricacies of the process add to this time. While free <a href=\"https:\/\/tabular.email\/templates\" target=\"_blank\" rel=\"noreferrer noopener\">HTML email templates<\/a> are available online, <a href=\"https:\/\/www.emailmavlers.com\/custom-email-templates\" target=\"_blank\" rel=\"noreferrer noopener\">custom-made emails<\/a> tend to perform better.<\/p>\n\n\n\n<p>In this article, we will guide you on how to create an email template using simple email template HTML code, which you can use as a reference for basic troubleshooting of your email template HTML code.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"simple\">HTML Basics: How to Create Simple HTML Email Template?<\/h2>\n\n\n\n<p>A basic HTML email template includes two parts:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li><strong>Header section<\/strong>: Any code placed between &lt;head&gt; and &lt;\/head&gt; is referred to as the header section. All the media queries, <a href=\"https:\/\/email.uplers.com\/blog\/inline-css-in-html-emails\/\" target=\"_blank\" rel=\"noreferrer noopener\">styling and CSS animations<\/a> are specified in this section.<\/li><li><strong>Body<\/strong>: Any code placed between &lt;body&gt; and &lt;\/body&gt; is the body section and the rendering engine uses the code to create the HTML email structure.<\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Step 1: How To Prepare Your HTML &lt;head&gt; Template?<\/strong><\/h2>\n\n\n\n<p>The head section of a simple HTML email template looks like this.&nbsp;<\/p>\n\n\n\n<div class=\"dm-code-snippet dark dm-normal-version no-background no-background-mobile\" snippet-height=\"\" style=\"background-color:#E6E6FA\"><div class=\"control-language\"><div class=\"dm-buttons\"><div class=\"dm-buttons-left\"><div class=\"dm-button-snippet red-button\"><\/div><div class=\"dm-button-snippet orange-button\"><\/div><div class=\"dm-button-snippet green-button\"><\/div><\/div><div class=\"dm-buttons-right\"><a id=\"dm-copy-raw-code\"><span class=\"dm-copy-text\">Copy Code<\/span><span class=\"dm-copy-confirmed\" style=\"display:none\">Copied<\/span><span class=\"dm-error-message\" style=\"display:none\">Use a different Browser<\/span><\/a><\/div><\/div><pre class=\" line-numbers\"><code id=\"dm-code-raw\" class=\" no-wrap language-markup\">&lt;!DOCTYPE html PUBLIC \u201c-\/\/W3C\/\/DTD XHTML 1.0 Transitional\/\/EN\u201d \u201chttps:\/\/www.w3.org\/TR\/xhtml1\/DTD\/xhtml1-transitional.dtd\u201d>\n&lt;html xmlns=\u201chttps:\/\/www.w3.org\/1999\/xhtml\u201d>\n&lt;head>\n&lt;title>Test Email Sample&lt;\/title>\n&lt;meta http\u2013equiv=\u201cContent-Type\u201d content=\u201ctext\/html; charset=UTF-8\u201d \/>\n&lt;meta http\u2013equiv=\u201cX-UA-Compatible\u201d content=\u201cIE=edge\u201d \/>\n&lt;meta name=\u201cviewport\u201d content=\u201cwidth=device-width, initial-scale=1.0 \u201c \/>\n&lt;style>\n&lt;!\u2014 CSS code (if any) \u2014>\n&lt;\/style>\n&lt;\/head><\/code><\/pre><\/div><\/div>\n\n\n\n<p>The &lt;!DOCTYPE&gt; declaration informs the rendering engine about the HTML version and rules that the HTML and CSS follow. While some email clients (such as Gmail, Google Apps, Yahoo! Mail, and Outlook.com) strip away this code and apply their own, it&#8217;s still good practice to include it in your email template HTML code.<\/p>\n\n\n\n<p>You can choose between XHTML 1.0 Transitional, XHTML 1.0 Strict, and HTML5, but most experienced email developers prefer XHTML 1.0 Transitional.<\/p>\n\n\n\n<p>&lt;meta http-equiv=\u201dContent-Type\u201d \/&gt; specifies how to process text and special characters in your email. The \u201ctext\/html\u201d instructs the rendering engine to consider the following strings of text as HTML.<br \/><\/p>\n\n\n\n<p>&lt;meta name=\u201dviewport\u201d \/&gt; instructs the device, on which the email is viewed, to set the viewable area of the email as per the screen width.<br \/><\/p>\n\n\n\n<p>The title of the email is written between the &lt;title&gt; tag. When a subscriber clicks on \u201cview online\u201d, the title of the email is displayed on the browser tab.<\/p>\n\n\n<div class=\"banner_wrapper\" style=\"\"><div class=\"banner  banner-40230 bottom vert custom-banners-theme-default_style\" style=\"\"><a class=\"custom_banners_big_link\"  target=\"_blank\"  href=\"https:\/\/email.uplers.com\/hire-dedicated-email-developer\/\"><img loading=\"lazy\" decoding=\"async\" width=\"1001\" height=\"376\" src=\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2024\/07\/Banner-02-100.jpg\" class=\"attachment-full size-full\" alt=\"Responsive Email Design\" srcset=\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2024\/07\/Banner-02-100.jpg 1001w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2024\/07\/Banner-02-100-300x113.jpg 300w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2024\/07\/Banner-02-100-768x288.jpg 768w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2024\/07\/Banner-02-100-624x234.jpg 624w\" sizes=\"auto, (max-width: 1001px) 100vw, 1001px\" \/><\/a><\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Step 2: How To Style Your Email HTML?<\/strong><\/h2>\n\n\n\n<p>Any styling you plan to implement in your email, such as text formatting, <a href=\"https:\/\/email.uplers.com\/blog\/a-quick-guide-to-getting-your-email-template-size-right\/\" target=\"_blank\" rel=\"noreferrer noopener\">image sizes<\/a>, and media queries, should be placed between the &lt;style&gt; tags as different classes. The basic format for adding a &lt;style&gt; tag is &lt;style type=&#8221;text\/css&#8221;&gt;, where &#8220;text\/css&#8221; specifies the media type as CSS. Placement of the &lt;style&gt; tag can be tricky because 6 out of 36 email clients do not support &lt;style&gt; tags in the &lt;head&gt;, and Gmail does not support them in the email body.<\/p>\n\n\n\n<p><strong>Text formatting<\/strong><\/p>\n\n\n\n<p>In case you need to add a centralized formatting condition for any text, you can specify the attributes in the specific class of the basic HTML email template.&nbsp;<\/p>\n\n\n\n<p>For instance, you can disable text decoration in the following way.<\/p>\n\n\n\n<div class=\"dm-code-snippet dark dm-normal-version no-background no-background-mobile\" snippet-height=\"\" style=\"background-color:#abb8c3\"><div class=\"control-language\"><div class=\"dm-buttons\"><div class=\"dm-buttons-left\"><div class=\"dm-button-snippet red-button\"><\/div><div class=\"dm-button-snippet orange-button\"><\/div><div class=\"dm-button-snippet green-button\"><\/div><\/div><div class=\"dm-buttons-right\"><a id=\"dm-copy-raw-code\"><span class=\"dm-copy-text\">Copy Code<\/span><span class=\"dm-copy-confirmed\" style=\"display:none\">Copied<\/span><span class=\"dm-error-message\" style=\"display:none\">Use a different Browser<\/span><\/a><\/div><\/div><pre class=\" line-numbers\"><code id=\"dm-code-raw\" class=\" no-wrap language-css\">.em_defaultlink a {\ncolor: inherit !important;\ntext\u2013decoration: none !important;\n}<\/code><\/pre><\/div><\/div>\n\n\n\n<p><strong>Media Queries<\/strong><\/p>\n\n\n\n<p>In case you are coding a responsive email template, the media queries need to be added in the following format.<\/p>\n\n\n\n<div class=\"dm-code-snippet dark dm-normal-version no-background no-background-mobile\" snippet-height=\"\" style=\"background-color:#abb8c3\"><div class=\"control-language\"><div class=\"dm-buttons\"><div class=\"dm-buttons-left\"><div class=\"dm-button-snippet red-button\"><\/div><div class=\"dm-button-snippet orange-button\"><\/div><div class=\"dm-button-snippet green-button\"><\/div><\/div><div class=\"dm-buttons-right\"><a id=\"dm-copy-raw-code\"><span class=\"dm-copy-text\">Copy Code<\/span><span class=\"dm-copy-confirmed\" style=\"display:none\">Copied<\/span><span class=\"dm-error-message\" style=\"display:none\">Use a different Browser<\/span><\/a><\/div><\/div><pre class=\" line-numbers\"><code id=\"dm-code-raw\" class=\" no-wrap language-css\">@media only screen and (min\u2013width: ___px) and (max\u2013width: ___px)\n{\n.(class_name)\n{\n(attributes to be implemented)\n}\n}<\/code><\/pre><\/div><\/div>\n\n\n\n<p>For example, consider the following media query in the email HTML code:<\/p>\n\n\n\n<div class=\"dm-code-snippet dark dm-normal-version no-background no-background-mobile\" snippet-height=\"\" style=\"background-color:#abb8c3\"><div class=\"control-language\"><div class=\"dm-buttons\"><div class=\"dm-buttons-left\"><div class=\"dm-button-snippet red-button\"><\/div><div class=\"dm-button-snippet orange-button\"><\/div><div class=\"dm-button-snippet green-button\"><\/div><\/div><div class=\"dm-buttons-right\"><a id=\"dm-copy-raw-code\"><span class=\"dm-copy-text\">Copy Code<\/span><span class=\"dm-copy-confirmed\" style=\"display:none\">Copied<\/span><span class=\"dm-error-message\" style=\"display:none\">Use a different Browser<\/span><\/a><\/div><\/div><pre class=\" line-numbers\"><code id=\"dm-code-raw\" class=\" no-wrap language-css\">@media only screen and (min\u2013width:481px) and (max\u2013width:699px) {\n.em_main_table {\nwidth: 100% !important;\n}\n.em_wrapper {\nwidth: 100% !important;\n}\n.em_hide {\ndisplay: none !important;\n}\n.em_img {\nwidth: 100% !important;\nheight: auto !important;\n}\n.em_h20 {\nheight: 20px !important;\n}\n.em_padd {\npadding: 20px 10px !important;\n}\n}<\/code><\/pre><\/div><\/div>\n\n\n\n<p>When the HTML email design is viewed on a device with a screen width between 481 and 699px:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>The width of the email (em_main_table) is set to 100% due to the &#8220;width: 100% !important;&#8221; attribute.<\/li><li>Sections with the em.hide class are hidden because of the &#8220;display: none !important;&#8221; attribute.<\/li><li>Sections with the em.h20 class have a fixed height of 20px due to the &#8220;height: 20px !important;&#8221; attribute.<\/li><li>Elements with the em_padd class have a fixed padding of 20px horizontally and 10px vertically.<\/li><\/ul>\n\n\n\n<p><strong>P.S:<\/strong> !important forces the rendering engine to not make any alterations to the media query.<\/p>\n\n\n\n<p><strong>Interactivity in email<\/strong><\/p>\n\n\n\n<p>If you want to send an HTML email with interactive features, make sure to add the CSS code before closing the &lt;head&gt; section.<\/p>\n\n\n\n<p>Coding interactivity in HTML emails is challenging and requires extensive testing to ensure perfect rendering across email clients. While you can find HTML code examples online, building interactive emails still demands significant coding expertise. For more information, check out our infographic on <a href=\"https:\/\/email.uplers.com\/interactive-email-design-elements\/\" target=\"_blank\" rel=\"noreferrer noopener\">Interactive Email Design Elements<\/a>.<\/p>\n\n\n\n<div>\n<h2><span id=\"What_does_the_Final_head_code_look_like\"><strong>Step 3: What does the Final &lt;head&gt; code look like?<\/strong><\/span><\/h2>\n<div>\n<div>\n<p>So, our final &lt;head&gt; in the HTML email template code looks like this<\/p>\n<\/div>\n<\/div>\n<\/div>\n\n\n\n<div class=\"dm-code-snippet dark dm-normal-version no-background no-background-mobile\" snippet-height=\"\" style=\"background-color:#abb8c3\"><div class=\"control-language\"><div class=\"dm-buttons\"><div class=\"dm-buttons-left\"><div class=\"dm-button-snippet red-button\"><\/div><div class=\"dm-button-snippet orange-button\"><\/div><div class=\"dm-button-snippet green-button\"><\/div><\/div><div class=\"dm-buttons-right\"><a id=\"dm-copy-raw-code\"><span class=\"dm-copy-text\">Copy Code<\/span><span class=\"dm-copy-confirmed\" style=\"display:none\">Copied<\/span><span class=\"dm-error-message\" style=\"display:none\">Use a different Browser<\/span><\/a><\/div><\/div><pre class=\" line-numbers\"><code id=\"dm-code-raw\" class=\" no-wrap language-markup\">&lt;!DOCTYPE html PUBLIC \u201c-\/\/W3C\/\/DTD XHTML 1.0 Transitional\/\/EN\u201d \u201chttps:\/\/www.w3.org\/TR\/xhtml1\/DTD\/xhtml1-transitional.dtd\u201d>\n&lt;html xmlns=\u201chttps:\/\/www.w3.org\/1999\/xhtml\u201d>\n&lt;head>\n&lt;title>Test Email Sample&lt;\/title>\n&lt;meta http\u2013equiv=\u201cContent-Type\u201d content=\u201ctext\/html; charset=UTF-8\u201d \/>\n&lt;meta http\u2013equiv=\u201cX-UA-Compatible\u201d content=\u201cIE=edge\u201d \/>\n&lt;meta name=\u201cviewport\u201d content=\u201cwidth=device-width, initial-scale=1.0 \u201c \/>\n&lt;style>\n&lt;!\u2014Text decoration removed \u2013>\n.em_defaultlink a {\ncolor: inherit !important;\ntext-decoration: none !important;\n&lt;!\u2014Media Query for desktop layout \u2013>\n@media only screen and (min-width:481px) and (max-width:699px) {\n.em_main_table {\nwidth: 100% !important;\n}\n.em_wrapper {\nwidth: 100% !important;\n}\n.em_hide {\ndisplay: none !important;\n}\n.em_img {\nwidth: 100% !important;\nheight: auto !important;\n{\n.em_h20 {\nheight: 20px !important;\n}\n.em_padd {\npadding: 20px 10px !important;\n}\n}\n@media screen and (max-width: 480px) {\n.em_main_table {\nwidth: 100% !important;\n}\n.em_wrapper {\nwidth: 100% !important;\n}\nem_hide {\ndisplay: none !important;\n}\n.em_img {\nwidth: 100% !important;\nheight: auto !important;\n}\n.em_h20 {\nheight: 20px !important;\n}\n.em_padd {\npadding: 20px 10px !important;\n}\n.em_text1 {\nfont-size: 16px !important;\nline-height: 24px !important;\n}\nu + .em_body .em_full_wrap {\nwidth: 100% !important;\nwidth: 100vw !important;\n}\n}\n&lt;\/style>\n&lt;\/head><\/code><\/pre><\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Step 4: How To Build Your Email &lt;body&gt;?<\/strong><\/h2>\n\n\n\n<p>The 600px width for HTML email design was originally based on Windows Outlook running on a 1024px desktop monitor, 10 years ago. Nowadays, devices with screen widths of at least 800px are common, allowing you to design HTML emails with a width of at least 700px and use background colors to create a widescreen effect.<\/p>\n\n\n\n<p>To begin, use a body with a 100% width and a background color of #efefef.<\/p>\n\n\n\n<div class=\"dm-code-snippet dark dm-normal-version no-background no-background-mobile\" snippet-height=\"\" style=\"background-color:#abb8c3\"><div class=\"control-language\"><div class=\"dm-buttons\"><div class=\"dm-buttons-left\"><div class=\"dm-button-snippet red-button\"><\/div><div class=\"dm-button-snippet orange-button\"><\/div><div class=\"dm-button-snippet green-button\"><\/div><\/div><div class=\"dm-buttons-right\"><a id=\"dm-copy-raw-code\"><span class=\"dm-copy-text\">Copy Code<\/span><span class=\"dm-copy-confirmed\" style=\"display:none\">Copied<\/span><span class=\"dm-error-message\" style=\"display:none\">Use a different Browser<\/span><\/a><\/div><\/div><pre class=\" line-numbers\"><code id=\"dm-code-raw\" class=\" no-wrap language-markup\">&lt;body class=\u201cem_body\u201d style=\u201cmargin:0px; padding:0px;\u201d bgcolor=\u201c#efefef\u201d><\/code><\/pre><\/div><\/div>\n\n\n\n<p>Here, we add a table that is center-aligned and set to a width of 700px.<\/p>\n\n\n\n<div class=\"dm-code-snippet dark dm-normal-version no-background no-background-mobile\" snippet-height=\"\" style=\"background-color:#abb8c3\"><div class=\"control-language\"><div class=\"dm-buttons\"><div class=\"dm-buttons-left\"><div class=\"dm-button-snippet red-button\"><\/div><div class=\"dm-button-snippet orange-button\"><\/div><div class=\"dm-button-snippet green-button\"><\/div><\/div><div class=\"dm-buttons-right\"><a id=\"dm-copy-raw-code\"><span class=\"dm-copy-text\">Copy Code<\/span><span class=\"dm-copy-confirmed\" style=\"display:none\">Copied<\/span><span class=\"dm-error-message\" style=\"display:none\">Use a different Browser<\/span><\/a><\/div><\/div><pre class=\" line-numbers\"><code id=\"dm-code-raw\" class=\" no-wrap language-markup\">&lt;table align=\u201ccenter\u201d width=\u201c700\u201d border=\u201c0\u201d cellspacing=\u201c0\u201d cellpadding=\u201c0\u201d class=\u201cem_main_table\u201d style=\u201cwidth:700px;\u201d><\/code><\/pre><\/div><\/div>\n\n\n\n<p>Now, we will include a pre-header text and \u201cview online\u201d as a part of a cell, made by nesting another table in the above-mentioned table.<\/p>\n\n\n\n<div id=\"crayon-5f69d35aabd7e494605652\" class=\"crayon-syntax crayon-theme-github crayon-font-monaco crayon-os-pc print-yes notranslate\" style=\"margin-top: 12px; margin-bottom: 12px; font-size: 12px !important; line-height: 15px !important;\" data-settings=\" minimize scroll-mouseover\">\n<div class=\"crayon-toolbar\" style=\"font-size: 12px !important; height: 18px !important; line-height: 18px !important;\" data-settings=\" mouseover overlay hide delay\"><span class=\"crayon-title\">Nested Table for View Online<\/span>\n<\/div>\n<\/div>\n\n\n\n<div class=\"dm-code-snippet dark dm-normal-version no-background no-background-mobile\" snippet-height=\"\" style=\"background-color:#abb8c3\"><div class=\"control-language\"><div class=\"dm-buttons\"><div class=\"dm-buttons-left\"><div class=\"dm-button-snippet red-button\"><\/div><div class=\"dm-button-snippet orange-button\"><\/div><div class=\"dm-button-snippet green-button\"><\/div><\/div><div class=\"dm-buttons-right\"><a id=\"dm-copy-raw-code\"><span class=\"dm-copy-text\">Copy Code<\/span><span class=\"dm-copy-confirmed\" style=\"display:none\">Copied<\/span><span class=\"dm-error-message\" style=\"display:none\">Use a different Browser<\/span><\/a><\/div><\/div><pre class=\" line-numbers\"><code id=\"dm-code-raw\" class=\" no-wrap language-markup\">&lt;tr>\n&lt;td style=\u201cpadding:15px;\u201d class=\u201cem_padd\u201d valign=\u201ctop\u201d bgcolor=\u201c#efefef\u201d align=\u201ccenter\u201d>&lt;table width=\u201c100%\u201d cellspacing=\u201c0\u201d cellpadding=\u201c0\u201d border=\u201c0\u201d align=\u201ccenter\u201d>\n&lt;tbody>&lt;tr>\n&lt;td style=\u201cfont-family:\u2019Open Sans\u2019, Arial, sans-serif; font-size:12px; line-height:15px; color:#0d1121;\u201d valign=\u201ctop\u201d align=\u201ccenter\u201d>Test Email Sample | &lt;a href=\u201c#\u201d target=\u201c_blank\u201d style=\u201ccolor:#0d1121; text-decoration:underline;\u201d>View Online&lt;\/a>&lt;\/td>\n&lt;\/tr>\n&lt;\/tbody>&lt;\/table>&lt;\/td>\n&lt;\/tr><\/code><\/pre><\/div><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"1174\" height=\"237\" src=\"https:\/\/cdn.shortpixel.ai\/client\/q_glossy,ret_img,w_1174,h_237\/https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2017\/12\/View-Online-e1538053482857.jpg\" alt=\"Create email HTML Template View Online\" class=\"wp-image-9561\"\/><\/figure><\/div>\n\n\n\n<p>Now, we add the hero image in the HTML email format.<\/p>\n\n\n\n<div class=\"dm-code-snippet dark dm-normal-version no-background no-background-mobile\" snippet-height=\"\" style=\"background-color:#abb8c3\"><div class=\"control-language\"><div class=\"dm-buttons\"><div class=\"dm-buttons-left\"><div class=\"dm-button-snippet red-button\"><\/div><div class=\"dm-button-snippet orange-button\"><\/div><div class=\"dm-button-snippet green-button\"><\/div><\/div><div class=\"dm-buttons-right\"><a id=\"dm-copy-raw-code\"><span class=\"dm-copy-text\">Copy Code<\/span><span class=\"dm-copy-confirmed\" style=\"display:none\">Copied<\/span><span class=\"dm-error-message\" style=\"display:none\">Use a different Browser<\/span><\/a><\/div><\/div><pre class=\" line-numbers\"><code id=\"dm-code-raw\" class=\" no-wrap language-markup\">&lt;tr>\n&lt;td valign=\u201ctop\u201d align=\u201ccenter\u201d>&lt;table width=\u201c100%\u201d cellspacing=\u201c0\u201d cellpadding=\u201c0\u201d border=\u201c0\u201d align=\u201ccenter\u201d>\n&lt;tbody>&lt;tr>\n&lt;td valign=\u201ctop\u201d align=\u201ccenter\u201d>&lt;img class=\u201cem_img\u201d alt=\u201cWelcome to EmailWeb Newsletter\u201d style=\u201cdisplay:block; font-family:Arial, sans-serif; font-size:30px; line-height:34px; color:#000000; max-width:700px;\u201d src=\u201cLocation of your image\u201d width=\u201c700\u201d border=\u201c0\u201d height=\u201c345\u201d>&lt;\/td>\n&lt;\/tr>\n&lt;\/tbody>&lt;\/table>&lt;\/td>\n&lt;\/tr><\/code><\/pre><\/div><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"309\" src=\"https:\/\/cdn.shortpixel.ai\/client\/q_glossy,ret_img,w_1024\/https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2020\/01\/email-uplers-1st-HTML-1024x309.jpg\" alt=\"\" class=\"wp-image-21401\" srcset=\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2020\/01\/email-uplers-1st-HTML-1024x309.jpg 1024w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2020\/01\/email-uplers-1st-HTML-300x90.jpg 300w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2020\/01\/email-uplers-1st-HTML-768x231.jpg 768w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2020\/01\/email-uplers-1st-HTML-624x188.jpg 624w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2020\/01\/email-uplers-1st-HTML.jpg 1175w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n\n<p>Now, we add a separate table for the email copy:<\/p>\n\n\n\n<div id=\"crayon-5f69d35aabd85348705656\" class=\"crayon-syntax crayon-theme-github crayon-font-monaco crayon-os-pc print-yes notranslate\" style=\"margin-top: 12px; margin-bottom: 12px; font-size: 12px !important; line-height: 15px !important;\" data-settings=\" minimize scroll-mouseover\">\n<div class=\"crayon-toolbar\" style=\"font-size: 12px !important; height: 18px !important; line-height: 18px !important;\" data-settings=\" mouseover overlay hide delay\"><span class=\"crayon-title\">Email Copy Code<\/span>\n<\/div>\n<\/div>\n\n\n\n<div class=\"dm-code-snippet dark dm-normal-version no-background no-background-mobile\" snippet-height=\"\" style=\"background-color:#abb8c3\"><div class=\"control-language\"><div class=\"dm-buttons\"><div class=\"dm-buttons-left\"><div class=\"dm-button-snippet red-button\"><\/div><div class=\"dm-button-snippet orange-button\"><\/div><div class=\"dm-button-snippet green-button\"><\/div><\/div><div class=\"dm-buttons-right\"><a id=\"dm-copy-raw-code\"><span class=\"dm-copy-text\">Copy Code<\/span><span class=\"dm-copy-confirmed\" style=\"display:none\">Copied<\/span><span class=\"dm-error-message\" style=\"display:none\">Use a different Browser<\/span><\/a><\/div><\/div><pre class=\" line-numbers\"><code id=\"dm-code-raw\" class=\" no-wrap language-markup\">&lt;tr>\n&lt;td valign=\u201ctop\u201d align=\u201ccenter\u201d bgcolor=\u201c#0d1121\u201d style=\u201cpadding:35px 70px 30px;\u201d class=\u201cem_padd\u201d>&lt;table align=\u201ccenter\u201d width=\u201c100%\u201d border=\u201c0\u201d cellspacing=\u201c0\u201d cellpadding=\u201c0\u201d>\n&lt;tr>\n&lt;td align=\u201ccenter\u201d valign=\u201ctop\u201d style=\u201cfont-family:\u2019Open Sans\u2019, Arial, sans-serif; font-size:16px; line-height:30px; color:#ffffff;\u201d>This is a sample email which shall be accommodated in a single paragraph&lt;\/td>\n&lt;\/tr>\n&lt;tr>\n&lt;td height=\u201c15\u201d style=\u201cfont-size:0px; line-height:0px; height:15px;\u201d>&nbsp;&lt;\/td>\n&lt;!\u2014this is space of 15px to separate two paragraphs \u2014>\n&lt;\/tr>\n&lt;tr>\n&lt;td align=\u201ccenter\u201d valign=\u201ctop\u201d style=\u201cfont-family:\u2019Open Sans\u2019, Arial, sans-serif; font-size:18px; line-height:22px; color:#fbeb59; letter-spacing:2px; padding-bottom:12px;\u201d>This is paragraph 2 of font size 18px and #fbeb59 font color with a line spacing of 15px&lt;\/td>\n&lt;\/tr>\n&lt;tr>\n&lt;td height=\u201c25\u201d class=\u201cem_h20\u201d style=\u201cfont-size:0px; line-height:0px; height:25px;\u201d>&nbsp;&lt;\/td>\n&lt;!\u2014this is space of 25px to separate two paragraphs \u2014>\n&lt;\/tr>\n&lt;tr>\n&lt;td align=\u201ccenter\u201d valign=\u201ctop\u201d style=\u201cfont-family:\u2019Open Sans\u2019, Arial, sans-serif; font-size:18px; line-height:22px; color:#fbeb59; text-transform:uppercase; letter-spacing:2px; padding-bottom:12px;\u201d> This is paragraph 3 of font size 18px and #fbeb59 font color with a line spacing of 25px and Uppercase&lt;\/td>\n&lt;\/tr>\n&lt;\/table>&lt;\/td>\n&lt;\/tr><\/code><\/pre><\/div><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"498\" src=\"https:\/\/cdn.shortpixel.ai\/client\/q_glossy,ret_img,w_1024\/https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2020\/01\/2nd-HTML-1024x498.jpg\" alt=\"\" class=\"wp-image-21400\" srcset=\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2020\/01\/2nd-HTML-1024x498.jpg 1024w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2020\/01\/2nd-HTML-300x146.jpg 300w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2020\/01\/2nd-HTML-768x374.jpg 768w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2020\/01\/2nd-HTML-288x140.jpg 288w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2020\/01\/2nd-HTML-624x304.jpg 624w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2020\/01\/2nd-HTML.jpg 1175w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n\n<p>Now, we add a CAN-SPAM compatible footer in the HTML email code:<\/p>\n\n\n\n<div id=\"crayon-5f69d35aabd89145143274\" class=\"crayon-syntax crayon-theme-github crayon-font-monaco crayon-os-pc print-yes notranslate\" style=\"margin-top: 12px; margin-bottom: 12px; font-size: 12px !important; line-height: 15px !important;\" data-settings=\" minimize scroll-mouseover\">\n<div class=\"crayon-toolbar\" style=\"font-size: 12px !important; height: 18px !important; line-height: 18px !important;\" data-settings=\" mouseover overlay hide delay\"><span class=\"crayon-title\">CAN-SPAM Compatible footer<\/span>\n<\/div>\n<\/div>\n\n\n\n<div class=\"dm-code-snippet dark dm-normal-version no-background no-background-mobile\" snippet-height=\"\" style=\"background-color:#abb8c3\"><div class=\"control-language\"><div class=\"dm-buttons\"><div class=\"dm-buttons-left\"><div class=\"dm-button-snippet red-button\"><\/div><div class=\"dm-button-snippet orange-button\"><\/div><div class=\"dm-button-snippet green-button\"><\/div><\/div><div class=\"dm-buttons-right\"><a id=\"dm-copy-raw-code\"><span class=\"dm-copy-text\">Copy Code<\/span><span class=\"dm-copy-confirmed\" style=\"display:none\">Copied<\/span><span class=\"dm-error-message\" style=\"display:none\">Use a different Browser<\/span><\/a><\/div><\/div><pre class=\" line-numbers\"><code id=\"dm-code-raw\" class=\" no-wrap language-markup\">&lt;tr>\n&lt;td valign=\u201ctop\u201d align=\u201ccenter\u201d bgcolor=\u201c#f6f7f8\u201d style=\u201cpadding:38px 30px;\u201d class=\u201cem_padd\u201d>&lt;table align=\u201ccenter\u201d width=\u201c100%\u201d border=\u201c0\u201d cellspacing=\u201c0\u201d cellpadding=\u201c0\u201d>\n&lt;tr>\n&lt;td valign=\u201ctop\u201d align=\u201ccenter\u201d style=\u201cpadding-bottom:16px;\u201d>&lt;table align=\u201ccenter\u201d border=\u201c0\u201d cellspacing=\u201c0\u201d cellpadding=\u201c0\u201d>\n&lt;tr>\n&lt;td valign=\u201ctop\u201d align=\u201ccenter\u201d>&lt;a href=\u201c#\u201d target=\u201c_blank\u201d style=\u201ctext-decoration:none;\u201d>&lt;img src=\u201cimages\/fb.png\u201d alt=\u201cfb\u201d style=\u201cdisplay:block; font-family:Arial, sans-serif; font-size:14px; line-height:14px; color:#ffffff; max-width:26px;\u201d border=\u201c0\u201d width=\u201c26\u201d height=\u201c26\u201d \/>&lt;\/a>&lt;\/td>\n&lt;td width=\u201c6\u201d style=\u201cwidth:6px;\u201d>&nbsp;&lt;\/td>\n&lt;td valign=\u201ctop\u201d align=\u201ccenter\u201d>&lt;a href=\u201c#\u201d target=\u201c_blank\u201d style=\u201ctext-decoration:none;\u201d>&lt;img src=\u201cimages\/tw.png\u201d alt=\u201ctw\u201d style=\u201cdisplay:block; font-family:Arial, sans-serif; font-size:14px; line-height:14px; color:#ffffff; max-width:27px;\u201d border=\u201c0\u201d width=\u201c27\u201d height=\u201c26\u201d \/>&lt;\/a>&lt;\/td>\n&lt;td width=\u201c6\u201d style=\u201cwidth:6px;\u201d>&nbsp;&lt;\/td>\n&lt;td valign=\u201ctop\u201d align=\u201ccenter\u201d>&lt;a href=\u201c#\u201d target=\u201c_blank\u201d style=\u201ctext-decoration:none;\u201d>&lt;img src=\u201cimages\/yt.png\u201d alt=\u201cyt\u201d style=\u201cdisplay:block; font-family:Arial, sans-serif; font-size:14px; line-height:14px; color:#ffffff; max-width:26px;\u201d border=\u201c0\u201d width=\u201c26\u201d height=\u201c26\u201d \/>&lt;\/a>&lt;\/td>\n&lt;\/tr>\n&lt;\/table>&lt;\/td>\n&lt;\/tr>\n&lt;tr>\n&lt;td align=\u201ccenter\u201d valign=\u201ctop\u201d style=\u201cfont-family:\u2019Open Sans\u2019, Arial, sans-serif; font-size:11px; line-height:18px; color:#999999;\u201d>&lt;a href=\u201c#\u201d target=\u201c_blank\u201d style=\u201ccolor:#999999; text-decoration:underline;\u201d>PRIVACY STATEMENT&lt;\/a> | &lt;a href=\u201c#\u201d target=\u201c_blank\u201d style=\u201ccolor:#999999; text-decoration:underline;\u201d>TERMS OF SERVICE&lt;\/a> | &lt;a href=\u201c#\u201d target=\u201c_blank\u201d style=\u201ccolor:#999999; text-decoration:underline;\u201d>RETURNS&lt;\/a>&lt;br \/>\n&copy; 2017 Companyname. All Rights Reserved.&lt;br \/>\nIf you do not wish to receive any further emails from us, please &lt;a href=\u201c#\u201d target=\u201c_blank\u201d style=\u201ctext-decoration:none; color:#999999;\u201d>unsubscribe&lt;\/a>&lt;\/td>\n&lt;\/tr>\n&lt;\/table>&lt;\/td>\n&lt;\/tr><\/code><\/pre><\/div><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"443\" src=\"https:\/\/cdn.shortpixel.ai\/client\/q_glossy,ret_img,w_1024\/https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2020\/01\/3rd-HTML-1024x443.jpg\" alt=\"\" class=\"wp-image-21399\" srcset=\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2020\/01\/3rd-HTML-1024x443.jpg 1024w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2020\/01\/3rd-HTML-300x130.jpg 300w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2020\/01\/3rd-HTML-768x333.jpg 768w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2020\/01\/3rd-HTML-624x270.jpg 624w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2020\/01\/3rd-HTML.jpg 1432w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n\n<p>Now, before we close the HTML email body, we add the following code:<\/p>\n\n\n\n<div id=\"crayon-5f69d35aabd8d236707620\" class=\"crayon-syntax crayon-theme-github crayon-font-monaco crayon-os-pc print-yes notranslate\" style=\"margin-top: 12px; margin-bottom: 12px; font-size: 12px !important; line-height: 15px !important;\" data-settings=\" minimize scroll-mouseover\">\n<div class=\"crayon-toolbar\" style=\"font-size: 12px !important; height: 18px !important; line-height: 18px !important;\" data-settings=\" mouseover overlay hide delay\"><span class=\"crayon-title\">Gmail Fix<\/span>\n<\/div>\n<\/div>\n\n\n\n<div class=\"dm-code-snippet dark dm-normal-version no-background no-background-mobile\" snippet-height=\"\" style=\"background-color:#abb8c3\"><div class=\"control-language\"><div class=\"dm-buttons\"><div class=\"dm-buttons-left\"><div class=\"dm-button-snippet red-button\"><\/div><div class=\"dm-button-snippet orange-button\"><\/div><div class=\"dm-button-snippet green-button\"><\/div><\/div><div class=\"dm-buttons-right\"><a id=\"dm-copy-raw-code\"><span class=\"dm-copy-text\">Copy Code<\/span><span class=\"dm-copy-confirmed\" style=\"display:none\">Copied<\/span><span class=\"dm-error-message\" style=\"display:none\">Use a different Browser<\/span><\/a><\/div><\/div><pre class=\" line-numbers\"><code id=\"dm-code-raw\" class=\" no-wrap language-markup\">&lt;div class=\u201cem_hide\u201d style=\u201cwhite-space: nowrap; display: none; font-size:0px; line-height:0px;\u201d>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;\/div><\/code><\/pre><\/div><\/div>\n\n\n\n<p>This adds extra spacing to force the desktop layout in Gmail<\/p>\n\n\n\n<p>So, your final email template HTML code should be:<\/p>\n\n\n\n<div id=\"crayon-5f69d35aabd90347823065\" class=\"crayon-syntax crayon-theme-github crayon-font-monaco crayon-os-pc print-yes notranslate\" style=\"margin-top: 12px; margin-bottom: 12px; font-size: 12px !important; line-height: 15px !important;\" data-settings=\" minimize scroll-mouseover\">\n<div class=\"crayon-toolbar\" style=\"font-size: 12px !important; height: 18px !important; line-height: 18px !important;\" data-settings=\" mouseover overlay hide delay\"><span class=\"crayon-title\">Complete HTML Code<\/span>\n<\/div>\n<\/div>\n\n\n\n<div class=\"dm-code-snippet dark dm-normal-version no-background no-background-mobile\" snippet-height=\"\" style=\"background-color:#abb8c3\"><div class=\"control-language\"><div class=\"dm-buttons\"><div class=\"dm-buttons-left\"><div class=\"dm-button-snippet red-button\"><\/div><div class=\"dm-button-snippet orange-button\"><\/div><div class=\"dm-button-snippet green-button\"><\/div><\/div><div class=\"dm-buttons-right\"><a id=\"dm-copy-raw-code\"><span class=\"dm-copy-text\">Copy Code<\/span><span class=\"dm-copy-confirmed\" style=\"display:none\">Copied<\/span><span class=\"dm-error-message\" style=\"display:none\">Use a different Browser<\/span><\/a><\/div><\/div><pre class=\" line-numbers\"><code id=\"dm-code-raw\" class=\" no-wrap language-markup\">&lt;!DOCTYPE html PUBLIC \u201c-\/\/W3C\/\/DTD XHTML 1.0 Transitional\/\/EN\u201d \u201chttps:\/\/www.w3.org\/TR\/xhtml1\/DTD\/xhtml1-transitional.dtd\u201d>\n&lt;html xmlns=\u201chttps:\/\/www.w3.org\/1999\/xhtml\u201d xmlns:v=\u201curn:schemas-microsoft-com:vml\u201d xmlns:o=\u201curn:schemas-microsoft-com:office:office\u201d>&lt;head>\n&lt;!\u2014[if gte mso 9]>&lt;xml>\n&lt;o:OfficeDocumentSettings>\n&lt;o:AllowPNG\/>\n&lt;o:PixelsPerInch>96&lt;\/o:PixelsPerInch>\n&lt;\/o:OfficeDocumentSettings>\n&lt;\/xml>&lt;![endif]\u2014>\n&lt;title>Christmas Email template&lt;\/title>\n&lt;meta http\u2013equiv=\u201cContent-Type\u201d content=\u201ctext\/html; charset=utf-8\u201d>\n&lt;meta http\u2013equiv=\u201cX-UA-Compatible\u201d content=\u201cIE=edge\u201d>\n&lt;meta name=\u201cviewport\u201d content=\u201cwidth=device-width, initial-scale=1.0 \u201c>\n&lt;meta name=\u201cformat-detection\u201d content=\u201ctelephone=no\u201d>\n&lt;!\u2014[if !mso]>&lt;!\u2014>\n&lt;link href=\u201chttps:\/\/fonts.googleapis.com\/css?family=Open+Sans:300,400,600,700,800\u201d rel=\u201cstylesheet\u201d>\n&lt;!\u2014&lt;![endif]\u2014>\n&lt;style type=\u201dtext\/css\u201d>\nbody {\nmargin: 0 !important;\npadding: 0 !important;\n-webkit-text-size-adjust: 100% !important;\n-ms-text-size-adjust: 100% !important;\n-webkit-font-smoothing: antialiased !important;\n}\nimg {\nborder: 0 !important;\noutline: none !important;\n}\np {\nMargin: 0px !important;\nPadding: 0px !important;\n}\ntable {\nborder-collapse: collapse;\nmso-table-lspace: 0px;\nmso-table-rspace: 0px;\n}\ntd, a, span {\nborder-collapse: collapse;\nmso-line-height-rule: exactly;\n}\n.ExternalClass * {\nline-height: 100%;\n}\n.em_defaultlink a {\ncolor: inherit !important;\ntext-decoration: none !important;\n}\nspan.MsoHyperlink {\nmso-style-priority: 99;\ncolor: inherit;\n}\nspan.MsoHyperlinkFollowed {\nmso-style-priority: 99;\ncolor: inherit;\n}\n@media only screen and (min-width:481px) and (max-width:699px) {\n.em_main_table {\nwidth: 100% !important;\n}\n.em_wrapper {\nwidth: 100% !important;\n}\n.em_hide {\ndisplay: none !important;\n}\n.em_img {\nwidth: 100% !important;\nheight: auto !important;\n}\n.em_h20 {\nheight: 20px !important;\n}\n.em_padd {\npadding: 20px 10px !important;\n}\n}\n@media screen and (max-width: 480px) {\n.em_main_table {\nwidth: 100% !important;\n}\n.em_wrapper {\nwidth: 100% !important;\n}\n.em_hide {\ndisplay: none !important;\n}\n.em_img {\nwidth: 100% !important;\nheight: auto !important;\n}\n.em_h20 {\nheight: 20px !important;\n}\n.em_padd {\npadding: 20px 10px !important;\n}\n.em_text1 {\nfont-size: 16px !important;\nline-height: 24px !important;\n}\nu + .em_body .em_full_wrap {\nwidth: 100% !important;\nwidth: 100vw !important;\n}\n}\n&lt;\/style>\n&lt;\/head>\n \n&lt;body class=\u201cem_body\u201d style=\u201cmargin:0px; padding:0px;\u201d bgcolor=\u201c#efefef\u201d>\n&lt;table class=\u201cem_full_wrap\u201d valign=\u201ctop\u201d width=\u201c100%\u201d cellspacing=\u201c0\u201d cellpadding=\u201c0\u201d border=\u201c0\u201d bgcolor=\u201c#efefef\u201d align=\u201ccenter\u201d>\n&lt;tbody>&lt;tr>\n&lt;td valign=\u201ctop\u201d align=\u201ccenter\u201d>&lt;table class=\u201cem_main_table\u201d style=\u201cwidth:700px;\u201d width=\u201c700\u201d cellspacing=\u201c0\u201d cellpadding=\u201c0\u201d border=\u201c0\u201d align=\u201ccenter\u201d>\n&lt;!\u2014Header section\u2014>\n&lt;tbody>&lt;tr>\n&lt;td style=\u201cpadding:15px;\u201d class=\u201cem_padd\u201d valign=\u201ctop\u201d bgcolor=\u201c#f6f7f8\u201d align=\u201ccenter\u201d>&lt;table width=\u201c100%\u201d cellspacing=\u201c0\u201d cellpadding=\u201c0\u201d border=\u201c0\u201d align=\u201ccenter\u201d>\n&lt;tbody>&lt;tr>\n&lt;td style=\u201cfont-family:\u2019Open Sans\u2019, Arial, sans-serif; font-size:12px; line-height:15px; color:#0d1121;\u201d valign=\u201ctop\u201d align=\u201ccenter\u201d>Test Email Sample | &lt;a href=\u201c#\u201d target=\u201c_blank\u201d style=\u201ccolor:#0d1121; text-decoration:underline;\u201d>View Online&lt;\/a>&lt;\/td>\n&lt;\/tr>\n&lt;\/tbody>&lt;\/table>&lt;\/td>\n&lt;\/tr>\n&lt;!\u2014\/\/Header section\u2013>\n&lt;!\u2014Banner section\u2014>\n&lt;tr>\n&lt;td valign=\u201ctop\u201d align=\u201ccenter\u201d>&lt;table width=\u201c100%\u201d cellspacing=\u201c0\u201d cellpadding=\u201c0\u201d border=\u201c0\u201d align=\u201ccenter\u201d>\n&lt;tbody>&lt;tr>\n&lt;td valign=\u201ctop\u201d align=\u201ccenter\u201d>&lt;img class=\u201cem_img\u201d alt=\u201cmerry Christmas\u201d style=\u201cdisplay:block; font-family:Arial, sans-serif; font-size:30px; line-height:34px; color:#000000; max-width:700px;\u201d src=\u201cimages\/05be8b57-6b90-4ebd-ba17-4014c79f2e4b.jpg\u201d width=\u201c700\u201d border=\u201c0\u201d height=\u201c345\u201d>&lt;\/td>\n&lt;\/tr>\n&lt;\/tbody>&lt;\/table>&lt;\/td>\n&lt;\/tr>\n&lt;!\u2014\/\/Banner section\u2013>\n&lt;!\u2014Content Text Section\u2014>\n&lt;tr>\n&lt;td style=\u201cpadding:35px 70px 30px;\u201d class=\u201cem_padd\u201d valign=\u201ctop\u201d bgcolor=\u201c#0d1121\u201d align=\u201ccenter\u201d>&lt;table width=\u201c100%\u201d cellspacing=\u201c0\u201d cellpadding=\u201c0\u201d border=\u201c0\u201d align=\u201ccenter\u201d>\n&lt;tbody>&lt;tr>\n&lt;td style=\u201cfont-family:\u2019Open Sans\u2019, Arial, sans-serif; font-size:16px; line-height:30px; color:#ffffff;\u201d valign=\u201ctop\u201d align=\u201ccenter\u201d>This is a sample email which shall be accommodated in a single paragraph&lt;\/td>\n&lt;\/tr>\n&lt;tr>\n&lt;td style=\u201cfont-size:0px; line-height:0px; height:15px;\u201d height=\u201c15\u201d>&nbsp;&lt;\/td>\n&lt;!\u2014\u2014this is space of 15px to separate two paragraphs \u2014\u2014>\n&lt;\/tr>\n&lt;tr>\n&lt;td style=\u201cfont-family:\u2019Open Sans\u2019, Arial, sans-serif; font-size:18px; line-height:22px; color:#fbeb59; letter-spacing:2px; padding-bottom:12px;\u201d valign=\u201ctop\u201d align=\u201ccenter\u201d>This is paragraph 2 of font size 18px and #fbeb59 font color with a line spacing of 15px&lt;\/td>\n&lt;\/tr>\n&lt;tr>\n&lt;td class=\u201cem_h20\u201d style=\u201cfont-size:0px; line-height:0px; height:25px;\u201d height=\u201c25\u201d>&nbsp;&lt;\/td>\n&lt;!\u2014\u2014this is space of 25px to separate two paragraphs \u2014\u2014>\n&lt;\/tr>\n&lt;tr>\n&lt;td style=\u201cfont-family:\u2019Open Sans\u2019, Arial, sans-serif; font-size:18px; line-height:22px; color:#fbeb59; text-transform:uppercase; letter-spacing:2px; padding-bottom:12px;\u201d valign=\u201ctop\u201d align=\u201ccenter\u201d> This is paragraph 3 of font size 18px and #fbeb59 font color with a line spacing of 25px and Uppercase&lt;\/td>\n&lt;\/tr>\n&lt;\/tbody>&lt;\/table>&lt;\/td>\n&lt;\/tr>\n \n&lt;!\u2014\/\/Content Text Section\u2013>\n&lt;!\u2014Footer Section\u2014>\n&lt;tr>\n&lt;td style=\u201cpadding:38px 30px;\u201d class=\u201cem_padd\u201d valign=\u201ctop\u201d bgcolor=\u201c#f6f7f8\u201d align=\u201ccenter\u201d>&lt;table width=\u201c100%\u201d cellspacing=\u201c0\u201d cellpadding=\u201c0\u201d border=\u201c0\u201d align=\u201ccenter\u201d>\n&lt;tbody>&lt;tr>\n&lt;td style=\u201cpadding-bottom:16px;\u201d valign=\u201ctop\u201d align=\u201ccenter\u201d>&lt;table cellspacing=\u201c0\u201d cellpadding=\u201c0\u201d border=\u201c0\u201d align=\u201ccenter\u201d>\n&lt;tbody>&lt;tr>\n&lt;td valign=\u201ctop\u201d align=\u201ccenter\u201d>&lt;a href=\u201c#\u201d target=\u201c_blank\u201d style=\u201ctext-decoration:none;\u201d>&lt;img src=\u201cimages\/fb.png\u201d alt=\u201cfb\u201d style=\u201cdisplay:block; font-family:Arial, sans-serif; font-size:14px; line-height:14px; color:#ffffff; max-width:26px;\u201d width=\u201c26\u201d border=\u201c0\u201d height=\u201c26\u201d>&lt;\/a>&lt;\/td>\n&lt;td style=\u201cwidth:6px;\u201d width=\u201c6\u201d>&nbsp;&lt;\/td>\n&lt;td valign=\u201ctop\u201d align=\u201ccenter\u201d>&lt;a href=\u201c#\u201d target=\u201c_blank\u201d style=\u201ctext-decoration:none;\u201d>&lt;img src=\u201cimages\/tw.png\u201d alt=\u201ctw\u201d style=\u201cdisplay:block; font-family:Arial, sans-serif; font-size:14px; line-height:14px; color:#ffffff; max-width:27px;\u201d width=\u201c27\u201d border=\u201c0\u201d height=\u201c26\u201d>&lt;\/a>&lt;\/td>\n&lt;td style=\u201cwidth:6px;\u201d width=\u201c6\u201d>&nbsp;&lt;\/td>\n&lt;td valign=\u201ctop\u201d align=\u201ccenter\u201d>&lt;a href=\u201c#\u201d target=\u201c_blank\u201d style=\u201ctext-decoration:none;\u201d>&lt;img src=\u201cimages\/yt.png\u201d alt=\u201cyt\u201d style=\u201cdisplay:block; font-family:Arial, sans-serif; font-size:14px; line-height:14px; color:#ffffff; max-width:26px;\u201d width=\u201c26\u201d border=\u201c0\u201d height=\u201c26\u201d>&lt;\/a>&lt;\/td>\n&lt;\/tr>\n&lt;\/tbody>&lt;\/table>&lt;\/td>\n&lt;\/tr>\n&lt;tr>\n&lt;td style=\u201cfont-family:\u2019Open Sans\u2019, Arial, sans-serif; font-size:11px; line-height:18px; color:#999999;\u201d valign=\u201ctop\u201d align=\u201ccenter\u201d>&lt;a href=\u201c#\u201d target=\u201c_blank\u201d style=\u201ccolor:#999999; text-decoration:underline;\u201d>PRIVACY STATEMENT&lt;\/a> | &lt;a href=\u201c#\u201d target=\u201c_blank\u201d style=\u201ccolor:#999999; text-decoration:underline;\u201d>TERMS OF SERVICE&lt;\/a> | &lt;a href=\u201c#\u201d target=\u201c_blank\u201d style=\u201ccolor:#999999; text-decoration:underline;\u201d>RETURNS&lt;\/a>&lt;br>\n\u00a9 2017 Companyname. All Rights Reserved.&lt;br>\nIf you do not wish to receive any further emails from us, please &lt;a href=\u201c#\u201d target=\u201c_blank\u201d style=\u201ctext-decoration:none; color:#999999;\u201d>unsubscribe&lt;\/a>&lt;\/td>\n&lt;\/tr>\n&lt;\/tbody>&lt;\/table>&lt;\/td>\n&lt;\/tr>\n&lt;tr>\n&lt;td class=\u201cem_hide\u201d style=\u201cline-height:1px;min-width:700px;background-color:#ffffff;\u201d>&lt;img alt=\u201c\u201d src=\u201cimages\/spacer.gif\u201d style=\u201cmax-height:1px; min-height:1px; display:block; width:700px; min-width:700px;\u201d width=\u201c700\u201d border=\u201c0\u201d height=\u201c1\u201d>&lt;\/td>\n&lt;\/tr>\n&lt;\/tbody>&lt;\/table>&lt;\/td>\n&lt;\/tr>\n&lt;\/tbody>&lt;\/table>\n&lt;div class=\u201cem_hide\u201d style=\u201cwhite-space: nowrap; display: none; font-size:0px; line-height:0px;\u201d>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;\/div>\n&lt;\/body>&lt;\/html><\/code><\/pre><\/div><\/div>\n\n\n\n<p>There you go! You\u2019ve successfully created an HTML Email! You can use this HTML Email Example and create your own.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"443\" src=\"https:\/\/cdn.shortpixel.ai\/client\/q_glossy,ret_img,w_1024\/https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2020\/01\/3rd-HTML-1024x443.jpg\" alt=\"\" class=\"wp-image-21399\" srcset=\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2020\/01\/3rd-HTML-1024x443.jpg 1024w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2020\/01\/3rd-HTML-300x130.jpg 300w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2020\/01\/3rd-HTML-768x333.jpg 768w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2020\/01\/3rd-HTML-624x270.jpg 624w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2020\/01\/3rd-HTML.jpg 1432w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n\n<p class=\"has-text-align-center\"><strong>Desktop Version<\/strong><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/cdn.shortpixel.ai\/client\/q_glossy,ret_img,w_1024\/https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2020\/01\/mobile-version-HTML.jpg\" alt=\"\" class=\"wp-image-21397\" srcset=\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2020\/01\/mobile-version-HTML.jpg 1024w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2020\/01\/mobile-version-HTML-150x150.jpg 150w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2020\/01\/mobile-version-HTML-300x300.jpg 300w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2020\/01\/mobile-version-HTML-768x768.jpg 768w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2020\/01\/mobile-version-HTML-140x140.jpg 140w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2020\/01\/mobile-version-HTML-624x624.jpg 624w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2020\/01\/mobile-version-HTML-24x24.jpg 24w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2020\/01\/mobile-version-HTML-48x48.jpg 48w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2020\/01\/mobile-version-HTML-96x96.jpg 96w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n\n<p class=\"has-text-align-center\"><strong>Mobile View<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"points\">Points to Remember While Creating HTML Emails<\/h2>\n\n\n\n<p>Creating HTML emails is a technique-sensitive task, requiring careful attention to many dos and don&#8217;ts to ensure flawless rendering across various email clients and devices.<\/p>\n\n\n<div class=\"banner_wrapper\" style=\"\"><div class=\"banner  banner-17407 bottom vert custom-banners-theme-default_style\" style=\"\"><a class=\"custom_banners_big_link\"  target=\"_blank\"  href=\"https:\/\/email.uplers.com\/custom-email-templates-design-coding\/\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"200\" src=\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2018\/04\/custom-email-design-coding.jpg\" class=\"attachment-full size-full\" alt=\"\" srcset=\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2018\/04\/custom-email-design-coding.jpg 800w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2018\/04\/custom-email-design-coding-300x75.jpg 300w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2018\/04\/custom-email-design-coding-768x192.jpg 768w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2018\/04\/custom-email-design-coding-624x156.jpg 624w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/a><\/div><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">1. Avoid using JavaScript and complex CSS coding<\/h3>\n\n\n\n<p>Website developers heavily rely on JavaScript for interactivity and visual richness. However, email clients do not support JavaScript in the HTML email format. If you still want to incorporate interactivity in HTML email code, you can use AMP in HTML emails. Currently, AMP components in email are supported by Gmail, Yahoo!, and Mail.ru. <\/p>\n\n\n\n<p>Sometimes, you can experiment with CSS3 and HTML5 in your HTML marketing emails but make sure you test the HTML email design with its complicated coding before hitting the &#8220;Send&#8221; button. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2. Make use of font stacks<\/h3>\n\n\n\n<p>While converting email to HTML, pay attention to the fonts used. Write an HTML email with proper font stacks, thereby ensuring proper readability and rendering across different email clients. <\/p>\n\n\n\n<p>While creating HTML emails, use email-safe fonts like Arial, Times New Roman, and Courier New. Provide fallback fonts in your HTML email design regardless whether you choose web-safe fonts or not. It is always advisable to do so as all email clients do not have the same support for fonts. <\/p>\n\n\n\n<p><strong>How to create a font stack in the HTML code for an email template?<\/strong><\/p>\n\n\n\n<p>Font stack is a strategic compilation of fonts according to their priority in the HTML email format. You must place the font you want to use in your HTML email body at the top. Mention the email-safe alternatives and default font below that. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">3. Monitor the loading time<\/h3>\n\n\n\n<p>If your email takes too long to load, it will turn off the subscribers and affect the performance of your HTML marketing emails. Therefore, you must use images and visual elements judiciously in your HTML email examples. When you build HTML email, make sure you do not add too many high-quality images. For every new image loaded in the <a href=\"https:\/\/tabular.email\/blog\/parts-of-an-email\" target=\"_blank\" rel=\"noreferrer noopener\">HTML email body<\/a>, a new request is generated to the server. Your loading time is directly proportional to the number of requests. So, how to design visually rich <a href=\"https:\/\/email.uplers.com\/first-email-template-free\/\" target=\"_blank\" rel=\"noreferrer noopener\">HTML email free<\/a> from any rendering issues? The answer is to optimize your image size and set the content width to 600px. Also, add suitable alt-text with the images when you code HTML for email. <\/p>\n\n\n\n<p>Use HTML minifier to remove unnecessary code from the HTML email format. Do not copy-paste from Microsoft Word when you code email to HTML. It will add too many additional codes. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">4. Pay special attention to accessibility in the HTML code for email template<\/h3>\n\n\n\n<p>If you want to write an HTML email that reaches all subscribers, you must follow accessibility best practices. When you convert PSD email to HTML, choose the visuals, font size, color contrast, and CTA button size in such a way that everyone can access it. Send HTML email with proper lang attributes and semantic tags so that screen readers can interpret the email HTML formatting. Arrange the HTML email template code from left to right and top to bottom for better readability. Single column layouts are the best bet to create accessible HTML email examples. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Wrapping Up<\/h2>\n\n\n\n<p>With this step-by-step guide, you can create an HTML email template for your email marketing strategy. The methodology outlined above is one of many processes we use to train our developers and rigorously test email templates with tools like Email on Acid, ensuring pixel-perfect results that meet our clients\u2019 requirements. This HTML email code can easily be adapted to create Mailchimp, Pardot, Marketo, Salesforce, and other ESP newsletter templates.<\/p>\n\n\n\n<p>As an email marketer, you should be familiar with various aspects of email, including design, coding, and template testing. Many brands and agencies partner with us for their <a href=\"https:\/\/email.uplers.com\/email-template-production-services\/\" target=\"_blank\" rel=\"noreferrer noopener\">email template production needs<\/a> to deliver high-converting email marketing campaigns.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you want to code a pixel-perfect HTML email, here is a step-by-step DIY guide that will facilitate your email template production process.<\/p>\n","protected":false},"author":78,"featured_media":21409,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[382],"tags":[207,32,752],"class_list":["post-9543","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-email-coding","tag-email-coding","tag-email-design","tag-html-email"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>A Complete Guide to Create a perfect Responsive HTML Email Template<\/title>\n<meta name=\"description\" content=\"Learn how to create custom coded, responsive HTML emails by using simple email template HTML code that renders perfectly across devices and email clients.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/email.uplers.com\/blog\/create-html-email\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"A Complete Guide to Create a perfect Responsive HTML Email Template\" \/>\n<meta property=\"og:description\" content=\"Learn how to create custom coded, responsive HTML emails by using simple email template HTML code that renders perfectly across devices and email clients.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/email.uplers.com\/blog\/create-html-email\/\" \/>\n<meta property=\"og:site_name\" content=\"Email Uplers\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/email.uplers\/\" \/>\n<meta property=\"article:published_time\" content=\"2024-07-05T01:30:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-02-05T10:27:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2020\/08\/HTML-540x282.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"540\" \/>\n\t<meta property=\"og:image:height\" content=\"282\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Susmit Panda\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@email_uplers\" \/>\n<meta name=\"twitter:site\" content=\"@email_uplers\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Susmit Panda\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"15 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/email.uplers.com\/blog\/create-html-email\/\",\"url\":\"https:\/\/email.uplers.com\/blog\/create-html-email\/\",\"name\":\"A Complete Guide to Create a perfect Responsive HTML Email Template\",\"isPartOf\":{\"@id\":\"https:\/\/email.uplers.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/email.uplers.com\/blog\/create-html-email\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/email.uplers.com\/blog\/create-html-email\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2020\/08\/HTML.jpg\",\"author\":{\"@id\":\"https:\/\/email.uplers.com\/blog\/#\/schema\/person\/24f62735fffd154f82f33d19d2eaacb3\"},\"description\":\"Learn how to create custom coded, responsive HTML emails by using simple email template HTML code that renders perfectly across devices and email clients.\",\"breadcrumb\":{\"@id\":\"https:\/\/email.uplers.com\/blog\/create-html-email\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/email.uplers.com\/blog\/create-html-email\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/email.uplers.com\/blog\/create-html-email\/#primaryimage\",\"url\":\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2020\/08\/HTML.jpg\",\"contentUrl\":\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2020\/08\/HTML.jpg\",\"width\":1170,\"height\":470,\"caption\":\"Create Your Own HTML Email\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/email.uplers.com\/blog\/create-html-email\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/email.uplers.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"A Complete Guide to Create Your Own HTML Email\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/email.uplers.com\/blog\/#website\",\"url\":\"https:\/\/email.uplers.com\/blog\/\",\"name\":\"Email Uplers\",\"description\":\"Email Marketing Blog\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/email.uplers.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/email.uplers.com\/blog\/#\/schema\/person\/24f62735fffd154f82f33d19d2eaacb3\",\"name\":\"Susmit Panda\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/email.uplers.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2023\/07\/Susmit-96x96.png\",\"contentUrl\":\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2023\/07\/Susmit-96x96.png\",\"caption\":\"Susmit Panda\"},\"description\":\"A realist at heart and an idealist at head, Susmit is a content writer at Email Uplers. He has been in the digital marketing industry for half a decade. When not writing, he can be seen squinting at his Kindle, awestruck.\",\"sameAs\":[\"https:\/\/email.uplers.com\/\",\"https:\/\/www.linkedin.com\/in\/susmit-panda-965a1214a\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"A Complete Guide to Create a perfect Responsive HTML Email Template","description":"Learn how to create custom coded, responsive HTML emails by using simple email template HTML code that renders perfectly across devices and email clients.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/email.uplers.com\/blog\/create-html-email\/","og_locale":"en_US","og_type":"article","og_title":"A Complete Guide to Create a perfect Responsive HTML Email Template","og_description":"Learn how to create custom coded, responsive HTML emails by using simple email template HTML code that renders perfectly across devices and email clients.","og_url":"https:\/\/email.uplers.com\/blog\/create-html-email\/","og_site_name":"Email Uplers","article_publisher":"https:\/\/www.facebook.com\/email.uplers\/","article_published_time":"2024-07-05T01:30:00+00:00","article_modified_time":"2025-02-05T10:27:27+00:00","og_image":[{"width":540,"height":282,"url":"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2020\/08\/HTML-540x282.jpg","type":"image\/jpeg"}],"author":"Susmit Panda","twitter_card":"summary_large_image","twitter_creator":"@email_uplers","twitter_site":"@email_uplers","twitter_misc":{"Written by":"Susmit Panda","Est. reading time":"15 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/email.uplers.com\/blog\/create-html-email\/","url":"https:\/\/email.uplers.com\/blog\/create-html-email\/","name":"A Complete Guide to Create a perfect Responsive HTML Email Template","isPartOf":{"@id":"https:\/\/email.uplers.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/email.uplers.com\/blog\/create-html-email\/#primaryimage"},"image":{"@id":"https:\/\/email.uplers.com\/blog\/create-html-email\/#primaryimage"},"thumbnailUrl":"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2020\/08\/HTML.jpg","author":{"@id":"https:\/\/email.uplers.com\/blog\/#\/schema\/person\/24f62735fffd154f82f33d19d2eaacb3"},"description":"Learn how to create custom coded, responsive HTML emails by using simple email template HTML code that renders perfectly across devices and email clients.","breadcrumb":{"@id":"https:\/\/email.uplers.com\/blog\/create-html-email\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/email.uplers.com\/blog\/create-html-email\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/email.uplers.com\/blog\/create-html-email\/#primaryimage","url":"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2020\/08\/HTML.jpg","contentUrl":"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2020\/08\/HTML.jpg","width":1170,"height":470,"caption":"Create Your Own HTML Email"},{"@type":"BreadcrumbList","@id":"https:\/\/email.uplers.com\/blog\/create-html-email\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/email.uplers.com\/blog\/"},{"@type":"ListItem","position":2,"name":"A Complete Guide to Create Your Own HTML Email"}]},{"@type":"WebSite","@id":"https:\/\/email.uplers.com\/blog\/#website","url":"https:\/\/email.uplers.com\/blog\/","name":"Email Uplers","description":"Email Marketing Blog","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/email.uplers.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/email.uplers.com\/blog\/#\/schema\/person\/24f62735fffd154f82f33d19d2eaacb3","name":"Susmit Panda","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/email.uplers.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2023\/07\/Susmit-96x96.png","contentUrl":"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2023\/07\/Susmit-96x96.png","caption":"Susmit Panda"},"description":"A realist at heart and an idealist at head, Susmit is a content writer at Email Uplers. He has been in the digital marketing industry for half a decade. When not writing, he can be seen squinting at his Kindle, awestruck.","sameAs":["https:\/\/email.uplers.com\/","https:\/\/www.linkedin.com\/in\/susmit-panda-965a1214a\/"]}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/email.uplers.com\/blog\/wp-json\/wp\/v2\/posts\/9543","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/email.uplers.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/email.uplers.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/email.uplers.com\/blog\/wp-json\/wp\/v2\/users\/78"}],"replies":[{"embeddable":true,"href":"https:\/\/email.uplers.com\/blog\/wp-json\/wp\/v2\/comments?post=9543"}],"version-history":[{"count":205,"href":"https:\/\/email.uplers.com\/blog\/wp-json\/wp\/v2\/posts\/9543\/revisions"}],"predecessor-version":[{"id":42154,"href":"https:\/\/email.uplers.com\/blog\/wp-json\/wp\/v2\/posts\/9543\/revisions\/42154"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/email.uplers.com\/blog\/wp-json\/wp\/v2\/media\/21409"}],"wp:attachment":[{"href":"https:\/\/email.uplers.com\/blog\/wp-json\/wp\/v2\/media?parent=9543"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/email.uplers.com\/blog\/wp-json\/wp\/v2\/categories?post=9543"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/email.uplers.com\/blog\/wp-json\/wp\/v2\/tags?post=9543"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}