{"id":8592,"date":"2017-06-28T13:22:21","date_gmt":"2017-06-28T11:22:21","guid":{"rendered":"http:\/\/www.digitalresponse.es\/?p=8592"},"modified":"2017-06-28T13:22:21","modified_gmt":"2017-06-28T11:22:21","slug":"codificacion-diseno-email","status":"publish","type":"post","link":"https:\/\/www.digitalresponse.es\/en\/codificacion-diseno-email\/","title":{"rendered":"Coding in email design"},"content":{"rendered":"<p>Creating the design of an email is not the same as creating the design of a website. First of all, it is advisable to avoid complex designs, since the greater the complexity, the more likely it is that the email will not look good in all types of mail (Outlook, Thunderbird, Hotmail, Gmail, Yahoo, etc.). Simplicity not only means elegance, but also the certainty that the recipients of our email will be genuine recipients of our advertising message. Trial and error will also help us determine which code is the most optimal for each email provider.<br \/>\nIn any case, it is important to follow the following recommendations:<br \/>\n<strong>1- Use tables for content layout, not divs<\/strong><br \/>\nThe only way for our email design to have a structure is by using <strong>Tables<\/strong>. Divs are really useful, but only for website design. If we use them in email, we won\u2019t be able to align our content.<br \/>\n<strong>2- CSS is always inline<\/strong><br \/>\nTo format the content of our email, it must be defined within the tables or (preferably in the TD tags), but never in separate stylesheets, nor in the head of our HTML. We recommend using the tags  within the  Only for responsive design using media queries.<br \/>\n<strong>3- Balance of images and text<\/strong><br \/>\nIf we abuse the images, there is a greater chance that our email will end up in the spam folder. For that reason, the best thing to do is to achieve a <strong>balance between these and the text<\/strong>.<br \/>\n<strong>4- Hosting the images on a server<\/strong><br \/>\nMost webmail clients do not support embedded images or very heavy ones. The key is <strong>host the images on a server<\/strong>, From our design, <strong>by means of a URL<\/strong>.<br \/>\n<strong>5- Take care of the weight of the emails<\/strong><br \/>\nIt is especially important to take care of the weight of the images and optimize them for the web if we want good reception of our emails. By incorporating an image with a dpi of 300 in our design, the only thing we will achieve is that the loading time of the same will be too long. In fact, we can display the <strong>same image at 72 dpi<\/strong> making the user's waiting time much shorter.<br \/>\n<strong>6- Defining the ALT\u2019s<\/strong><br \/>\nThere are many recipients who have image navigation disabled. The <strong>Definition of the ALT\u2019s<\/strong> It will make it possible for those who have image navigation turned off to know, for example, where there is an action call, where there is an image of the product, etc.<br \/>\n<strong>7- Remembering that an email is not a website<\/strong><br \/>\nWe cannot use JavaScript, PHP or Flash, as these would not be loaded or cause the email to end up in the spam folder directly.<br \/>\n<strong>8- Avoid using horizontally cut images<\/strong><br \/>\nTo prevent extra spaces from being created between images, the following code must be added to each of them: &lt;td&gt; in which there are images: style=&rdquo;border:none; font-size:0; line-height:0; letter-spacing:0; padding:0px; margin:0px;&rdquo;.<br \/>\n<strong>9- Avoid using rowpans<\/strong><br \/>\nIt is also important to avoid using rowspans when encoding the email. Some email providers such as Lotus and Hotmail will not display them correctly, so the best alternative is to use colspans or tables.<\/p>","protected":false},"excerpt":{"rendered":"<p>Crear el dise\u00f1o de un email no es lo mismo que crear el de un sitio web. Ante todo es conveniente alejarse de dise\u00f1os complejos, ya que a mayor complejidad, m\u00e1s posibilidades existen de que el email no se vea bien en todos los tipos\u00a0de correo (Outlook, Thunderbird, Hotmail, Gmail, Yahoo, etc.). En la sencillez [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37,39],"tags":[],"post_folder":[],"class_list":["post-8592","post","type-post","status-publish","format-standard","hentry","category-blog","category-diseno-de-emails"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>La codificaci\u00f3n en el dise\u00f1o de un email - Digital Response<\/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:\/\/www.digitalresponse.es\/en\/codificacion-diseno-email\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"La codificaci\u00f3n en el dise\u00f1o de un email - Digital Response\" \/>\n<meta property=\"og:description\" content=\"Crear el dise\u00f1o de un email no es lo mismo que crear el de un sitio web. Ante todo es conveniente alejarse de dise\u00f1os complejos, ya que a mayor complejidad, m\u00e1s posibilidades existen de que el email no se vea bien en todos los tipos\u00a0de correo (Outlook, Thunderbird, Hotmail, Gmail, Yahoo, etc.). En la sencillez [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.digitalresponse.es\/en\/codificacion-diseno-email\/\" \/>\n<meta property=\"og:site_name\" content=\"Digital Response\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/digitalresponse\" \/>\n<meta property=\"article:published_time\" content=\"2017-06-28T11:22:21+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.digitalresponse.es\/wp-content\/uploads\/2017\/06\/codificacion-diseno-email.jpeg\" \/>\n\t<meta property=\"og:image:width\" content=\"940\" \/>\n\t<meta property=\"og:image:height\" content=\"627\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Clara\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@dresponse\" \/>\n<meta name=\"twitter:site\" content=\"@dresponse\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Clara\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated 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:\\\/\\\/www.digitalresponse.es\\\/en\\\/codificacion-diseno-email\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.digitalresponse.es\\\/en\\\/codificacion-diseno-email\\\/\"},\"author\":{\"name\":\"Clara\",\"@id\":\"https:\\\/\\\/www.digitalresponse.es\\\/#\\\/schema\\\/person\\\/c842b4b9fb8424de8ad957333085c3da\"},\"headline\":\"La codificaci\u00f3n en el dise\u00f1o de un email\",\"datePublished\":\"2017-06-28T11:22:21+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.digitalresponse.es\\\/en\\\/codificacion-diseno-email\\\/\"},\"wordCount\":599,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.digitalresponse.es\\\/#organization\"},\"articleSection\":[\"Blog\",\"Dise\u00f1o de emails\"],\"inLanguage\":\"en-GB\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.digitalresponse.es\\\/en\\\/codificacion-diseno-email\\\/\",\"url\":\"https:\\\/\\\/www.digitalresponse.es\\\/en\\\/codificacion-diseno-email\\\/\",\"name\":\"La codificaci\u00f3n en el dise\u00f1o de un email - Digital Response\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.digitalresponse.es\\\/#website\"},\"datePublished\":\"2017-06-28T11:22:21+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.digitalresponse.es\\\/en\\\/codificacion-diseno-email\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.digitalresponse.es\\\/en\\\/codificacion-diseno-email\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.digitalresponse.es\\\/en\\\/codificacion-diseno-email\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portada\",\"item\":\"https:\\\/\\\/www.digitalresponse.es\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"La codificaci\u00f3n en el dise\u00f1o de un email\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.digitalresponse.es\\\/#website\",\"url\":\"https:\\\/\\\/www.digitalresponse.es\\\/\",\"name\":\"Digital Response\",\"description\":\"Email Marketing y Marketing Automation\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.digitalresponse.es\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.digitalresponse.es\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.digitalresponse.es\\\/#organization\",\"name\":\"Digital Response\",\"url\":\"https:\\\/\\\/www.digitalresponse.es\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/www.digitalresponse.es\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.digitalresponse.es\\\/wp-content\\\/uploads\\\/2024\\\/02\\\/digitalResponse_claim_500.png\",\"contentUrl\":\"https:\\\/\\\/www.digitalresponse.es\\\/wp-content\\\/uploads\\\/2024\\\/02\\\/digitalResponse_claim_500.png\",\"width\":500,\"height\":135,\"caption\":\"Digital Response\"},\"image\":{\"@id\":\"https:\\\/\\\/www.digitalresponse.es\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/digitalresponse\",\"https:\\\/\\\/x.com\\\/dresponse\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/digital-response\\\/\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCuG-okZhhBKdzJpHRwMrnYg\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.digitalresponse.es\\\/#\\\/schema\\\/person\\\/c842b4b9fb8424de8ad957333085c3da\",\"name\":\"Clara\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/392b853917f61dee9495562dd65c507b5cfe6c47cb4b14d94f6a63a15b87d7c4?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/392b853917f61dee9495562dd65c507b5cfe6c47cb4b14d94f6a63a15b87d7c4?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/392b853917f61dee9495562dd65c507b5cfe6c47cb4b14d94f6a63a15b87d7c4?s=96&d=mm&r=g\",\"caption\":\"Clara\"},\"url\":\"https:\\\/\\\/www.digitalresponse.es\\\/en\\\/author\\\/jordi-puig\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"La codificaci\u00f3n en el dise\u00f1o de un email - Digital Response","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:\/\/www.digitalresponse.es\/en\/codificacion-diseno-email\/","og_locale":"en_GB","og_type":"article","og_title":"La codificaci\u00f3n en el dise\u00f1o de un email - Digital Response","og_description":"Crear el dise\u00f1o de un email no es lo mismo que crear el de un sitio web. Ante todo es conveniente alejarse de dise\u00f1os complejos, ya que a mayor complejidad, m\u00e1s posibilidades existen de que el email no se vea bien en todos los tipos\u00a0de correo (Outlook, Thunderbird, Hotmail, Gmail, Yahoo, etc.). En la sencillez [&hellip;]","og_url":"https:\/\/www.digitalresponse.es\/en\/codificacion-diseno-email\/","og_site_name":"Digital Response","article_publisher":"https:\/\/www.facebook.com\/digitalresponse","article_published_time":"2017-06-28T11:22:21+00:00","og_image":[{"width":940,"height":627,"url":"https:\/\/www.digitalresponse.es\/wp-content\/uploads\/2017\/06\/codificacion-diseno-email.jpeg","type":"image\/jpeg"}],"author":"Clara","twitter_card":"summary_large_image","twitter_creator":"@dresponse","twitter_site":"@dresponse","twitter_misc":{"Written by":"Clara","Estimated reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.digitalresponse.es\/en\/codificacion-diseno-email\/#article","isPartOf":{"@id":"https:\/\/www.digitalresponse.es\/en\/codificacion-diseno-email\/"},"author":{"name":"Clara","@id":"https:\/\/www.digitalresponse.es\/#\/schema\/person\/c842b4b9fb8424de8ad957333085c3da"},"headline":"La codificaci\u00f3n en el dise\u00f1o de un email","datePublished":"2017-06-28T11:22:21+00:00","mainEntityOfPage":{"@id":"https:\/\/www.digitalresponse.es\/en\/codificacion-diseno-email\/"},"wordCount":599,"commentCount":0,"publisher":{"@id":"https:\/\/www.digitalresponse.es\/#organization"},"articleSection":["Blog","Dise\u00f1o de emails"],"inLanguage":"en-GB"},{"@type":"WebPage","@id":"https:\/\/www.digitalresponse.es\/en\/codificacion-diseno-email\/","url":"https:\/\/www.digitalresponse.es\/en\/codificacion-diseno-email\/","name":"La codificaci\u00f3n en el dise\u00f1o de un email - Digital Response","isPartOf":{"@id":"https:\/\/www.digitalresponse.es\/#website"},"datePublished":"2017-06-28T11:22:21+00:00","breadcrumb":{"@id":"https:\/\/www.digitalresponse.es\/en\/codificacion-diseno-email\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.digitalresponse.es\/en\/codificacion-diseno-email\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.digitalresponse.es\/en\/codificacion-diseno-email\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"https:\/\/www.digitalresponse.es\/"},{"@type":"ListItem","position":2,"name":"La codificaci\u00f3n en el dise\u00f1o de un email"}]},{"@type":"WebSite","@id":"https:\/\/www.digitalresponse.es\/#website","url":"https:\/\/www.digitalresponse.es\/","name":"Digital Response","description":"Email Marketing and Marketing Automation","publisher":{"@id":"https:\/\/www.digitalresponse.es\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.digitalresponse.es\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/www.digitalresponse.es\/#organization","name":"Digital Response","url":"https:\/\/www.digitalresponse.es\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.digitalresponse.es\/#\/schema\/logo\/image\/","url":"https:\/\/www.digitalresponse.es\/wp-content\/uploads\/2024\/02\/digitalResponse_claim_500.png","contentUrl":"https:\/\/www.digitalresponse.es\/wp-content\/uploads\/2024\/02\/digitalResponse_claim_500.png","width":500,"height":135,"caption":"Digital Response"},"image":{"@id":"https:\/\/www.digitalresponse.es\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/digitalresponse","https:\/\/x.com\/dresponse","https:\/\/www.linkedin.com\/company\/digital-response\/","https:\/\/www.youtube.com\/channel\/UCuG-okZhhBKdzJpHRwMrnYg"]},{"@type":"Person","@id":"https:\/\/www.digitalresponse.es\/#\/schema\/person\/c842b4b9fb8424de8ad957333085c3da","name":"Clara","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/secure.gravatar.com\/avatar\/392b853917f61dee9495562dd65c507b5cfe6c47cb4b14d94f6a63a15b87d7c4?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/392b853917f61dee9495562dd65c507b5cfe6c47cb4b14d94f6a63a15b87d7c4?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/392b853917f61dee9495562dd65c507b5cfe6c47cb4b14d94f6a63a15b87d7c4?s=96&d=mm&r=g","caption":"Clara"},"url":"https:\/\/www.digitalresponse.es\/en\/author\/jordi-puig\/"}]}},"_links":{"self":[{"href":"https:\/\/www.digitalresponse.es\/en\/wp-json\/wp\/v2\/posts\/8592","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.digitalresponse.es\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.digitalresponse.es\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.digitalresponse.es\/en\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.digitalresponse.es\/en\/wp-json\/wp\/v2\/comments?post=8592"}],"version-history":[{"count":0,"href":"https:\/\/www.digitalresponse.es\/en\/wp-json\/wp\/v2\/posts\/8592\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.digitalresponse.es\/en\/wp-json\/wp\/v2\/media?parent=8592"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.digitalresponse.es\/en\/wp-json\/wp\/v2\/categories?post=8592"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.digitalresponse.es\/en\/wp-json\/wp\/v2\/tags?post=8592"},{"taxonomy":"post_folder","embeddable":true,"href":"https:\/\/www.digitalresponse.es\/en\/wp-json\/wp\/v2\/post_folder?post=8592"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}