Html newsletter layout 24 tips for a better html


Published on

Published in: Business, Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Html newsletter layout 24 tips for a better html

  1. 1. HTML Newsletter Layout – 24 TipsLeader in Email Marketing, Social media and Cross-Channel Marketing Solutions and Services in India @2012 Copy Right of Kenscio
  2. 2. HTML Email DosEver wondered if you had a quick guide of Dos and Donts for anHTML based email newsletter. Here we have compiled one thatserves as a ready reckoner.HTML Coding Do’s5.Code HTML emails as a single Web page with the basic <HTML>, <HEAD>,<TITLE>, and <BODY> tags.6.Code emails by hand where possible, as WYSIWYG (What You See Is What YouGet) editors typically add extra code that creates havoc with certain email clients.If you must use an editor, use Dreamweaver or Homesite, which do not add extracode to the design process.7.Use HTML tables for the design layout.8.Keep emails at a fixed width of between 500-620 pixels wide.9.Instead of defining percentage widths use fixed widths. While this is notoptimal, because people can and do resize their email windows when reading,sometimes using a fixed width is the only way for a layout to display properly inmultiple email software. @2012 Copy Right of Kenscio
  3. 3. HTML Email Dos1. Use only the ASCII character set. More advanced word-processing software often inserts odd characters, such as the trailing dot characters or smart quotes (curly instead of straight), which can hamper display or create delivery problems in some email software.2. If you use CSS, include inline styles. Do not link to an external style sheet nor use embedded styles, as this code is often stripped out by email clients, creating display problems.3. Make sure all tags have supporting closing tags. The most common HTML errors come from not having a closing </FONT> tag or having open <TD> or <TR> tags in the HTML. While your HTML might render properly in a browser, these errors can cause problems with many email clients.4. Use the HTML table attributes within the TABLE and TD tags.5. For example: to set the table border=0, valign=top, align=left (or center, if that is the design), cellpadding=0, cellspacing=0, and so on. This primarily helps older email readers to display the html email in a minimally-acceptable way. @2012 Copy Right of Kenscio
  4. 4. HTML Email Dos1. Put general font style information in the table TD or DIV or P tags closest to the content. This can mean repetitive style declarations in multiple TD cells or DIV’s or P tag. Put font style definitions into heading (e.g. H1, H2), P, or A tags only when necessary.2. Use DIVs sparingly to float small boxes of content and links to the right or left inside a table TD cell. Google Mail appears to ignore the CSS Float property but Yahoo! and Hotmail work fine. Outlook 2007 ignores floats.3. Sometimes it is better to code a more complex table layout than rely on the Float property. Since email is easy to clutter, ask that the design put the floated content in the narrow side column. Floats are the one part of an email design that might require the design be reworked.4. Animated GIF files are acceptable, but use them sparingly.5. Use of images maps is acceptable.6. If there is a spacing issue with the columns in the email design, first tweak the cellpadding and cellspacing attributes of the HTML tables. If that does not work, use CSS margin and padding attributes. HTML spacing works better with older email software than spacing with CSS. @2012 Copy Right of Kenscio
  5. 5. HTML Email Dos1. If an image is cut up and spread across several HTML table cells, test the email with many test accounts. Sometimes it looks great in Outlook but shifts by 1 pixel or more in Hotmail and other services. Also consider putting the image as a background image on a new html table that encases all the table rows and columns that would display parts of your background image. sometimes this achieves the same effect as cutting an image up but with less code and better results. @2012 Copy Right of Kenscio
  6. 6. HTML Email DosNote that Microsoft Outlook does not display background images.Be sure to test your email code with your target email clientsoftware.3.If you use background images, use the HTML table attribute background=instead of CSS. It works more consistently across email software except Outlook.Define appropriate bgcolor for the TD’s so that the color is displayed when theimages are blocked.4.Be sure all your images use the alt tags, height, and width parameters. Thishelps with Google Mail as well as when a reader has their images turned off.However, Outlook 2007 does not recognize the alt= parameter.5.Use the target=”_blank” attribute for the HTML A tags so that people readingwith a webmail service don’t have the requested page appear within theirwebmail interface.6.Avoid a big image above the fold in the email. This is another classic spammerpractice and can increase the likelihood an email will be tagged as spam.7.Make sure your email content displays fine without images. @2012 Copy Right of Kenscio
  7. 7. HTML Email DosFor example: if you use a background image to provide abackground color with white font color over it, make sure thedefault background color for that part of the HTML table is dark, notwhite. Also be sure your alt=, height=, and width= parameters areset for images so they can help readers understand your contentwithout images. Turning off your images will help you catch theseissues and ensure the HTML email will display effectively if peoplesee your email with images off.3.Test your HTML code. Make sure your code conforms to World Wide WebConsortium (W3C) HTML standards4.When sending a multi-part message, remember to create the text version. Mostemail clients send HTML as a multi-part alternative by default. Failing to includethe text part of the message can cause some filters to treat your email as spam. @2012 Copy Right of Kenscio
  8. 8. @2012 Copy Right of Kenscio