{"id":5525,"date":"2023-08-01T13:40:30","date_gmt":"2023-08-01T11:40:30","guid":{"rendered":"https:\/\/sare.pl\/baza-wiedzy\/uncategorized\/html-guidelines-proper-preparation-of-html-mailing-creations\/"},"modified":"2023-08-01T13:40:30","modified_gmt":"2023-08-01T11:40:30","slug":"html-guidelines-proper-preparation-of-html-mailing-creations","status":"publish","type":"post","link":"https:\/\/sare.pl\/baza-wiedzy\/en\/sare-system\/email-campaigns\/html-guidelines-proper-preparation-of-html-mailing-creations\/","title":{"rendered":"HTML guidelines &#8211; proper preparation of HTML mailing creations"},"content":{"rendered":"<p>Currently, there are many email programs and clients available on the market. Keep in mind that the same newsletter may be displayed differently on different email platforms. Therefore, we have prepared some guidelines to help you properly prepare your HTML mailing. Following these guidelines will minimize the risk of differences in the display of the same newsletter.   <\/p>\n<h2>Coding<\/h2>\n<p>The mailing code should be based on a table structure and comply with the HTML 4.01 specification. It should be error-free and comply with the W3C standard. Avoid placing JavaScript, Flash animations and positioning (position: absolute and position: relative).  <\/p>\n<p>If you are using Polish fonts or special characters, we recommend encoding in the UTF-8 standard (possibly ISO-8895-2, keeping in mind that this encoding has a smaller character library). Make sure that the encoding declaration is compatible with the encoding you are using. <\/p>\n<h2>Width of creation<\/h2>\n<p>The recommended width of the creative is 600px. Most email clients have this window width. All styles should be placed inline, not placed in the <strong>&lt;head<\/strong> section <strong>&gt;. To set the margins, you can add empty cells or use padding style in the cells (remember to take into account the width of the cell).<\/strong>   <\/p>\n<p>To get rid of unnecessary margins and spacing, add these three attributes to the table tag: <strong>border=&#8221;0&#8243; cellpadding=&#8221;0&#8243; cellspacing=&#8221;0&#8243;<\/strong>. For centering, use the <strong>align=&#8221;center&#8221;<\/strong> attribute. If you want to add a border, it is best to put it as a cell style, for example: <strong>style=&#8221;border: 1px solid #000000;&#8221;<\/strong>. You can set the background as a solid color using the <strong>bgColor=&#8221;#ffffff&#8221;<\/strong> attribute in the cell.   <\/p>\n<h2>Graphics<\/h2>\n<p>Background graphics are not displayed in Outlook. We recommend placing graphics in .jpg, .png or .gif formats. To encourage users to download graphics, graphic file names should not contain spaces, dashes or special characters. The length of the graphic file name should not exceed 35 characters. It is also a good idea to include alternative text in the tags <strong>&lt;img&gt;<\/strong>. To remove spacing on Gmail and WP, add the attributes <strong>border=&#8221;0&#8243;<\/strong> and <strong>style=&#8221;display: block;&#8221;<\/strong> to the tag. <\/p>\n<h2>Fonts<\/h2>\n<p>It is best to use standard fonts, such as Arial and Times New Roman. Define them inline by specifying the type, size and color of the font, for example: <strong>&lt;font style=&#8221;font-family: Arial, sans-serif; font-size: 10px; color: #000000;&#8221;&gt;text&lt;<\/strong>\/font <strong>&gt;.<\/strong> <\/p>\n<h2>.zip package<\/h2>\n<p>A proper .zip package for import into the system should contain an index.html file with the creative code, an index.txt file with the text version (in the same encoding as index.html), and graphics referenced in the code. Remember the following rules: <\/p>\n<ul>\n<li>The name of the .zip file should consist only of letters, numbers or the &#8220;_&#8221; character.<\/li>\n<li>The file containing the HTML version should be named index.html or index.htm (case sensitive).<\/li>\n<li>The index.html file should not be in any directory.<\/li>\n<li>If the newsletter also has a text version, the file containing this version should be named index.txt.<\/li>\n<li>All files attached to the HTML version of the newsletter (e.g., graphics) can be in another folder.<\/li>\n<\/ul>\n<p>The weight of the finished .zip package should not exceed 100-150 kB.<\/p>\n<h2>Testing and shipping<\/h2>\n<p>Before sending, we recommend testing the display of the message in popular browsers (Chrome, Firefox, IE, Edge) and on popular email platforms (Gmail, WP, Interia, Onet, O2, Outlook, Thunderbird). At the top of the creative, it&#8217;s a good idea to include a web preview footer, which will allow a user whose message is displayed incorrectly to open it in a browser. You can use a link:<br \/>\n<strong>&lt;a href=&#8221;%www_version%<\/strong>&#8221; <strong>&gt;link&lt;<\/strong>\/a <strong>&gt;<\/p>\n<p> Also remember to include a footer in both versions for unsubscribing from the newsletter. You can add one of these links:<\/strong><br \/>\n<strong>&lt;a href=&#8221;%remove_link%&#8221;&gt;link&lt;\/a&gt; <\/strong>or  <strong>&lt;a href=&#8221;%remove_link2%&#8221;&gt;link&lt;\/a&gt;<\/strong>, if you want to investigate the reason for the discharge.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Currently, there are many mailing programs and clients available on the market. Following the guidelines will help you properly prepare your HTML mailing. <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[1625],"tags":[1831,1847,1977,2282,2285],"class_list":["post-5525","post","type-post","status-publish","format-standard","hentry","category-email-campaigns","tag-mailing-en","tag-html-format","tag-email-program","tag-html-guidelines","tag-email-client"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>HTML guidelines - proper preparation of HTML mailing creations - SARE | Baza wiedzy<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/sare.pl\/baza-wiedzy\/en\/sare-system\/email-campaigns\/html-guidelines-proper-preparation-of-html-mailing-creations\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"HTML guidelines - proper preparation of HTML mailing creations - SARE | Baza wiedzy\" \/>\n<meta property=\"og:description\" content=\"Currently, there are many mailing programs and clients available on the market. Following the guidelines will help you properly prepare your HTML mailing.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/sare.pl\/baza-wiedzy\/en\/sare-system\/email-campaigns\/html-guidelines-proper-preparation-of-html-mailing-creations\/\" \/>\n<meta property=\"og:site_name\" content=\"SARE | Baza wiedzy\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/SAREpl\" \/>\n<meta property=\"article:published_time\" content=\"2023-08-01T11:40:30+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/sare.pl\/baza-wiedzy\/en\/sare-system\/email-campaigns\/html-guidelines-proper-preparation-of-html-mailing-creations\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/sare.pl\/baza-wiedzy\/en\/sare-system\/email-campaigns\/html-guidelines-proper-preparation-of-html-mailing-creations\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\/\/sare.pl\/baza-wiedzy\/en\/#\/schema\/person\/167ecfd76cdd32904d33a8c56f137e3a\"},\"headline\":\"HTML guidelines &#8211; proper preparation of HTML mailing creations\",\"datePublished\":\"2023-08-01T11:40:30+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/sare.pl\/baza-wiedzy\/en\/sare-system\/email-campaigns\/html-guidelines-proper-preparation-of-html-mailing-creations\/\"},\"wordCount\":666,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/sare.pl\/baza-wiedzy\/en\/#organization\"},\"keywords\":[\"mailing\",\"HTML format\",\"email program\",\"HTML guidelines\",\"email client\"],\"articleSection\":[\"Email Campaigns\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/sare.pl\/baza-wiedzy\/en\/sare-system\/email-campaigns\/html-guidelines-proper-preparation-of-html-mailing-creations\/\",\"url\":\"https:\/\/sare.pl\/baza-wiedzy\/en\/sare-system\/email-campaigns\/html-guidelines-proper-preparation-of-html-mailing-creations\/\",\"name\":\"HTML guidelines - proper preparation of HTML mailing creations - SARE | Baza wiedzy\",\"isPartOf\":{\"@id\":\"https:\/\/sare.pl\/baza-wiedzy\/en\/#website\"},\"datePublished\":\"2023-08-01T11:40:30+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/sare.pl\/baza-wiedzy\/en\/sare-system\/email-campaigns\/html-guidelines-proper-preparation-of-html-mailing-creations\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/sare.pl\/baza-wiedzy\/en\/sare-system\/email-campaigns\/html-guidelines-proper-preparation-of-html-mailing-creations\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/sare.pl\/baza-wiedzy\/en\/sare-system\/email-campaigns\/html-guidelines-proper-preparation-of-html-mailing-creations\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Centrum pomocy\",\"item\":\"https:\/\/sare.pl\/baza-wiedzy\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Uncategorized\",\"item\":\"https:\/\/sare.pl\/baza-wiedzy\/en\/uncategorized\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"HTML guidelines &#8211; proper preparation of HTML mailing creations\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/sare.pl\/baza-wiedzy\/en\/#website\",\"url\":\"https:\/\/sare.pl\/baza-wiedzy\/en\/\",\"name\":\"SARE | Baza wiedzy\",\"description\":\"SARE | Baza wiedzy\",\"publisher\":{\"@id\":\"https:\/\/sare.pl\/baza-wiedzy\/en\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/sare.pl\/baza-wiedzy\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/sare.pl\/baza-wiedzy\/en\/#organization\",\"name\":\"SARE | Baza wiedzy\",\"url\":\"https:\/\/sare.pl\/baza-wiedzy\/en\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/sare.pl\/baza-wiedzy\/en\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/sare.pl\/baza-wiedzy\/wp-content\/uploads\/2023\/11\/Frame-7540-1.png\",\"contentUrl\":\"https:\/\/sare.pl\/baza-wiedzy\/wp-content\/uploads\/2023\/11\/Frame-7540-1.png\",\"width\":372,\"height\":160,\"caption\":\"SARE | Baza wiedzy\"},\"image\":{\"@id\":\"https:\/\/sare.pl\/baza-wiedzy\/en\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/SAREpl\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/sare.pl\/baza-wiedzy\/en\/#\/schema\/person\/167ecfd76cdd32904d33a8c56f137e3a\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/sare.pl\/baza-wiedzy\/en\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c41b30fd9393eb744de159dd22162b679cd7596c81b8e0495338a751f97227f2?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c41b30fd9393eb744de159dd22162b679cd7596c81b8e0495338a751f97227f2?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\/\/sare.pl\/baza-wiedzy\"],\"url\":\"https:\/\/sare.pl\/baza-wiedzy\/en\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"HTML guidelines - proper preparation of HTML mailing creations - SARE | Baza wiedzy","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:\/\/sare.pl\/baza-wiedzy\/en\/sare-system\/email-campaigns\/html-guidelines-proper-preparation-of-html-mailing-creations\/","og_locale":"en_US","og_type":"article","og_title":"HTML guidelines - proper preparation of HTML mailing creations - SARE | Baza wiedzy","og_description":"Currently, there are many mailing programs and clients available on the market. Following the guidelines will help you properly prepare your HTML mailing.","og_url":"https:\/\/sare.pl\/baza-wiedzy\/en\/sare-system\/email-campaigns\/html-guidelines-proper-preparation-of-html-mailing-creations\/","og_site_name":"SARE | Baza wiedzy","article_publisher":"https:\/\/www.facebook.com\/SAREpl","article_published_time":"2023-08-01T11:40:30+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/sare.pl\/baza-wiedzy\/en\/sare-system\/email-campaigns\/html-guidelines-proper-preparation-of-html-mailing-creations\/#article","isPartOf":{"@id":"https:\/\/sare.pl\/baza-wiedzy\/en\/sare-system\/email-campaigns\/html-guidelines-proper-preparation-of-html-mailing-creations\/"},"author":{"name":"admin","@id":"https:\/\/sare.pl\/baza-wiedzy\/en\/#\/schema\/person\/167ecfd76cdd32904d33a8c56f137e3a"},"headline":"HTML guidelines &#8211; proper preparation of HTML mailing creations","datePublished":"2023-08-01T11:40:30+00:00","mainEntityOfPage":{"@id":"https:\/\/sare.pl\/baza-wiedzy\/en\/sare-system\/email-campaigns\/html-guidelines-proper-preparation-of-html-mailing-creations\/"},"wordCount":666,"commentCount":0,"publisher":{"@id":"https:\/\/sare.pl\/baza-wiedzy\/en\/#organization"},"keywords":["mailing","HTML format","email program","HTML guidelines","email client"],"articleSection":["Email Campaigns"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/sare.pl\/baza-wiedzy\/en\/sare-system\/email-campaigns\/html-guidelines-proper-preparation-of-html-mailing-creations\/","url":"https:\/\/sare.pl\/baza-wiedzy\/en\/sare-system\/email-campaigns\/html-guidelines-proper-preparation-of-html-mailing-creations\/","name":"HTML guidelines - proper preparation of HTML mailing creations - SARE | Baza wiedzy","isPartOf":{"@id":"https:\/\/sare.pl\/baza-wiedzy\/en\/#website"},"datePublished":"2023-08-01T11:40:30+00:00","breadcrumb":{"@id":"https:\/\/sare.pl\/baza-wiedzy\/en\/sare-system\/email-campaigns\/html-guidelines-proper-preparation-of-html-mailing-creations\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/sare.pl\/baza-wiedzy\/en\/sare-system\/email-campaigns\/html-guidelines-proper-preparation-of-html-mailing-creations\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/sare.pl\/baza-wiedzy\/en\/sare-system\/email-campaigns\/html-guidelines-proper-preparation-of-html-mailing-creations\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Centrum pomocy","item":"https:\/\/sare.pl\/baza-wiedzy\/en\/"},{"@type":"ListItem","position":2,"name":"Uncategorized","item":"https:\/\/sare.pl\/baza-wiedzy\/en\/uncategorized\/"},{"@type":"ListItem","position":3,"name":"HTML guidelines &#8211; proper preparation of HTML mailing creations"}]},{"@type":"WebSite","@id":"https:\/\/sare.pl\/baza-wiedzy\/en\/#website","url":"https:\/\/sare.pl\/baza-wiedzy\/en\/","name":"SARE | Baza wiedzy","description":"SARE | Baza wiedzy","publisher":{"@id":"https:\/\/sare.pl\/baza-wiedzy\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/sare.pl\/baza-wiedzy\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/sare.pl\/baza-wiedzy\/en\/#organization","name":"SARE | Baza wiedzy","url":"https:\/\/sare.pl\/baza-wiedzy\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/sare.pl\/baza-wiedzy\/en\/#\/schema\/logo\/image\/","url":"https:\/\/sare.pl\/baza-wiedzy\/wp-content\/uploads\/2023\/11\/Frame-7540-1.png","contentUrl":"https:\/\/sare.pl\/baza-wiedzy\/wp-content\/uploads\/2023\/11\/Frame-7540-1.png","width":372,"height":160,"caption":"SARE | Baza wiedzy"},"image":{"@id":"https:\/\/sare.pl\/baza-wiedzy\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/SAREpl"]},{"@type":"Person","@id":"https:\/\/sare.pl\/baza-wiedzy\/en\/#\/schema\/person\/167ecfd76cdd32904d33a8c56f137e3a","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/sare.pl\/baza-wiedzy\/en\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c41b30fd9393eb744de159dd22162b679cd7596c81b8e0495338a751f97227f2?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c41b30fd9393eb744de159dd22162b679cd7596c81b8e0495338a751f97227f2?s=96&d=mm&r=g","caption":"admin"},"sameAs":["https:\/\/sare.pl\/baza-wiedzy"],"url":"https:\/\/sare.pl\/baza-wiedzy\/en\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/sare.pl\/baza-wiedzy\/en\/wp-json\/wp\/v2\/posts\/5525","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sare.pl\/baza-wiedzy\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sare.pl\/baza-wiedzy\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sare.pl\/baza-wiedzy\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sare.pl\/baza-wiedzy\/en\/wp-json\/wp\/v2\/comments?post=5525"}],"version-history":[{"count":0,"href":"https:\/\/sare.pl\/baza-wiedzy\/en\/wp-json\/wp\/v2\/posts\/5525\/revisions"}],"wp:attachment":[{"href":"https:\/\/sare.pl\/baza-wiedzy\/en\/wp-json\/wp\/v2\/media?parent=5525"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sare.pl\/baza-wiedzy\/en\/wp-json\/wp\/v2\/categories?post=5525"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sare.pl\/baza-wiedzy\/en\/wp-json\/wp\/v2\/tags?post=5525"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}