SlideShare a Scribd company logo
HTML FOR EMAILTechnical Tips and TricksDeveloping Emails
HTML FOR EMAIL: GENERAL RECOMMENDATIONSHTML for email is different than HTML for the web!Modern web design utilizes CSS (cascading style sheets) for layout. However, due to inconsistent CSS support, HTML tables must be used for email layout. CODE LIKE IT’S 1999!No standards exist for displaying HTML in email.Proper syntax still counts – use a validator to check for general errors.Make sure all open tags have a properly nested closing tag.Specify accurate table and cell widths. Improper math can cause major layout problems.Images & other elements should each reside in their own table cell.Specify desired alignments (left, right, top, bottom). If unspecified, not all email clients will default to the same alignment.
What elements are supported in email?HTML FormsUsed for surveys, search wizards, drop-down boxes, etc.
About half of email clients either disable forms or display a warning message about the form, leading to a poor user experience
Alternate Options
Link to a survey / form hosted on an external landing page
Provide a link near the form that allows subscribers to view the email in their browser
Use images to create a simple survey and pull results from click trackingWhat elements are supported in email?Video and FlashEmbedding Flash or video in an email can cause deliverability issues, and if delivered, video will be disabled in almost every email client.
Supported ways to use multimedia with email
Use a still image to link to a video hosted on a landing page
Use an animated .gif (see below)
Certified Video from Goodmail(currently only supported in AOL; higher production and delivery costs) Animated .gifsSupported in most email clients
Poor image quality and potential for large file size
No audio or playback controls
Use caution in Outlook 2007 – only the 1st frame will display, so make sure the 1st frame conveys your message. Include a play button on 1st frame and link the .gif.What elements are supported in email?JavaScriptNot supported in any email clients

More Related Content

PDF
Dreamforce | ExactTarget Marketing Cloud: Flexible Frameworks in Email Design
PPTX
Advanced Responsive Design
PPTX
Webinar: Mobile Email Design & Intro to Mobile Optimized Templates
PPTX
Flexible Frameworks: A Springboard to Sophistication
PPTX
Salesforce Winter 15 Release Overview
PPTX
Salesforce Summer '14 release overview
PDF
Salesforce Spring '17 Release Admin Webinar
PPTX
Supercharge your Salesforce Reports and Dashboards
Dreamforce | ExactTarget Marketing Cloud: Flexible Frameworks in Email Design
Advanced Responsive Design
Webinar: Mobile Email Design & Intro to Mobile Optimized Templates
Flexible Frameworks: A Springboard to Sophistication
Salesforce Winter 15 Release Overview
Salesforce Summer '14 release overview
Salesforce Spring '17 Release Admin Webinar
Supercharge your Salesforce Reports and Dashboards

What's hot (7)

PDF
Lightning for Salesforce Admins
PPTX
Salesforce Spring '17 Top 10 Features
PPTX
Jax, FL Admin Group Presents: Spring '21 Release Highlights
PPTX
Salesforce Spring 17 Release Overview
PPTX
Salesforce Summer 19 Release Overview
PDF
Turbo-charge Your Skuid Page with Apex
PPTX
Salesforfce Summer '17 release overview deck
Lightning for Salesforce Admins
Salesforce Spring '17 Top 10 Features
Jax, FL Admin Group Presents: Spring '21 Release Highlights
Salesforce Spring 17 Release Overview
Salesforce Summer 19 Release Overview
Turbo-charge Your Skuid Page with Apex
Salesforfce Summer '17 release overview deck
Ad

Viewers also liked (8)

PPTX
ExactTarget Training: Personalization & AMPscript
 
PDF
Programming the ExactTarget Marketing Cloud
PDF
How to Automate Your Email Development Workflow
PPTX
DESIGNING FOR YOUR SUBSCRIBERS - Tips and Tricks to Increase Email Marketing...
PDF
HTML Email Trends & Best Practice
PDF
Salesforce Marketing Cloud: Creating 1:1 Journeys
DOCX
Soal try out teori kejuruan akuntansi paket a th 2016
KEY
Optimizing HTML Email for Mobile | WDYK
ExactTarget Training: Personalization & AMPscript
 
Programming the ExactTarget Marketing Cloud
How to Automate Your Email Development Workflow
DESIGNING FOR YOUR SUBSCRIBERS - Tips and Tricks to Increase Email Marketing...
HTML Email Trends & Best Practice
Salesforce Marketing Cloud: Creating 1:1 Journeys
Soal try out teori kejuruan akuntansi paket a th 2016
Optimizing HTML Email for Mobile | WDYK
Ad

Similar to Html For Email - Technical Tips and Tricks Developing Emails (20)

PDF
33 "Must-Do" Tips to Improve HTML Email Design
PPT
Html newsletter layout 24 tips for a better html
PDF
Email Design Workshop - Don't Let Bad Email Code Ruin Your Day or Your Results
PPTX
Creative Guidelines
PDF
WebSG - HTML Email Newsletters
PPT
Css 2010
PPT
Css 2010
PPT
Week 2
PPT
Techtalk
PPT
HTML email design and usability
PPT
Email marketing - 8 don'ts
PPT
Making Your Site Look Great in IE7
PDF
Html web designing 1
PPT
HTML email best practices
PPT
HTML email best practices
PPT
HTML & CSS Workshop Notes
PDF
Html interview-questions-and-answers
PPTX
HtmL E-Mails
PDF
HTML Email
PPTX
Lecture-7.pptx
33 "Must-Do" Tips to Improve HTML Email Design
Html newsletter layout 24 tips for a better html
Email Design Workshop - Don't Let Bad Email Code Ruin Your Day or Your Results
Creative Guidelines
WebSG - HTML Email Newsletters
Css 2010
Css 2010
Week 2
Techtalk
HTML email design and usability
Email marketing - 8 don'ts
Making Your Site Look Great in IE7
Html web designing 1
HTML email best practices
HTML email best practices
HTML & CSS Workshop Notes
Html interview-questions-and-answers
HtmL E-Mails
HTML Email
Lecture-7.pptx

More from Salesforce Marketing Cloud (20)

PPTX
Salesforce Marketing Cloud Partner Webinar: A New Twist on Growing Your List!
PPTX
#CNX14 - Journey Builder - The New App Experience
PDF
#CNX14 - Using Ruby for Reliability, Consistency, and Speed
PPTX
#CNX14 - Dive Deep into the ExactTarget Fuel APIs
PPTX
#CNX14 - Building Killer Apps - Moving Beyond Transactions to Experiences
PPTX
#CNX14 - How Node.js Will Change Your Team
PPTX
#CNX14 - Build, Deploy and Scale Customer Apps Quickly
PPTX
#CNX14 - Accelerate Pipeline with Pardot: The Salesforce B2B Marketing Automa...
PPTX
#CNX14 - Intro to Force
PPTX
#CNX14 - Building Enterprise Mobile Apps With Salesforce1
PPTX
#CNX14 - Disruption Panel
PPTX
#CNX14 - Get Started with Mobile Marketing: Email, SMS, Push and Responsive E...
PPTX
#CNX14 - Personalized Experiences: Web & Email Customization Made Easy
PPTX
#CNX14 - The Power to Predict: The How-To's of Personalized Content
PPTX
#CNX14 - Make Audiences the Center of Your Advertising for Greater Performance
PPTX
#CNX14 - Social Listening: From Getting Started to Executing at Scale
PPTX
#CNX14 - Great Customer Service is Great Marketing
PPTX
#CNX14 - Content Marketing: The Art of Business Storytelling
PPTX
#CNX14 - Crisis Communication
PPTX
#CNX14 - Propelling Your Career with Mentors & Sponsors
Salesforce Marketing Cloud Partner Webinar: A New Twist on Growing Your List!
#CNX14 - Journey Builder - The New App Experience
#CNX14 - Using Ruby for Reliability, Consistency, and Speed
#CNX14 - Dive Deep into the ExactTarget Fuel APIs
#CNX14 - Building Killer Apps - Moving Beyond Transactions to Experiences
#CNX14 - How Node.js Will Change Your Team
#CNX14 - Build, Deploy and Scale Customer Apps Quickly
#CNX14 - Accelerate Pipeline with Pardot: The Salesforce B2B Marketing Automa...
#CNX14 - Intro to Force
#CNX14 - Building Enterprise Mobile Apps With Salesforce1
#CNX14 - Disruption Panel
#CNX14 - Get Started with Mobile Marketing: Email, SMS, Push and Responsive E...
#CNX14 - Personalized Experiences: Web & Email Customization Made Easy
#CNX14 - The Power to Predict: The How-To's of Personalized Content
#CNX14 - Make Audiences the Center of Your Advertising for Greater Performance
#CNX14 - Social Listening: From Getting Started to Executing at Scale
#CNX14 - Great Customer Service is Great Marketing
#CNX14 - Content Marketing: The Art of Business Storytelling
#CNX14 - Crisis Communication
#CNX14 - Propelling Your Career with Mentors & Sponsors

Html For Email - Technical Tips and Tricks Developing Emails

  • 1. HTML FOR EMAILTechnical Tips and TricksDeveloping Emails
  • 2. HTML FOR EMAIL: GENERAL RECOMMENDATIONSHTML for email is different than HTML for the web!Modern web design utilizes CSS (cascading style sheets) for layout. However, due to inconsistent CSS support, HTML tables must be used for email layout. CODE LIKE IT’S 1999!No standards exist for displaying HTML in email.Proper syntax still counts – use a validator to check for general errors.Make sure all open tags have a properly nested closing tag.Specify accurate table and cell widths. Improper math can cause major layout problems.Images & other elements should each reside in their own table cell.Specify desired alignments (left, right, top, bottom). If unspecified, not all email clients will default to the same alignment.
  • 3. What elements are supported in email?HTML FormsUsed for surveys, search wizards, drop-down boxes, etc.
  • 4. About half of email clients either disable forms or display a warning message about the form, leading to a poor user experience
  • 6. Link to a survey / form hosted on an external landing page
  • 7. Provide a link near the form that allows subscribers to view the email in their browser
  • 8. Use images to create a simple survey and pull results from click trackingWhat elements are supported in email?Video and FlashEmbedding Flash or video in an email can cause deliverability issues, and if delivered, video will be disabled in almost every email client.
  • 9. Supported ways to use multimedia with email
  • 10. Use a still image to link to a video hosted on a landing page
  • 11. Use an animated .gif (see below)
  • 12. Certified Video from Goodmail(currently only supported in AOL; higher production and delivery costs) Animated .gifsSupported in most email clients
  • 13. Poor image quality and potential for large file size
  • 14. No audio or playback controls
  • 15. Use caution in Outlook 2007 – only the 1st frame will display, so make sure the 1st frame conveys your message. Include a play button on 1st frame and link the .gif.What elements are supported in email?JavaScriptNot supported in any email clients
  • 16. Can cause emails to end up in the junk/spam folderBackground ImagesBackground images should be added using the HTML background attribute
  • 17. Background images will not display in Outlook 2007 and Lotus Notes, regardless of the method of application
  • 18. Text over a background image must be readable on the background color - background images are not supported in all clients and images may be turned off.TOOLS FOR CREATING HTMLHTML EditorsHTML editors such as Dreamweaver, Microsoft Office SharePoint Designer, etc. are designed with web coding in mind, not email.
  • 19. Many of the coding techniques used in HTML editors will lead to display issues in email clients - Microsoft Word, for example, will add proprietary code that will not display properly
  • 20. To achieve the best results use a plain text editor such as Notepad or TextEdit
  • 21. Other options available for download include:
  • 22. Windows - E Text Editor, Notepad++
  • 24. Windows/Mac/Linux - Komodo EditImage EditorsWindows/Mac – Photoshop, GIMP, photoshop.com
  • 25. OUTLOOK 2007 Avoid Background Images – include them only as secondary elements.
  • 26. Avoid using CSS margins – use CSS padding or spacer .gifs to create spacing between elements.
  • 27. Forms do not work in Outlook 2007.
  • 28. Outlook 2007 is very particular. Specify accurate table widths – errors in math will cause incorrect display.
  • 29. Outlook 2007 is very particular. Specify accurate colspans and rowspans – extra values creates extra spaces.
  • 30. Only the first frame of an animated .gif will display, so make it count.
  • 31. Only in Outlook 2007: CSS padding applied to the top or bottom on one cell in a multi-column layout will be applied to all columns in that row<table border=“0” cellpadding=“0” cellspacing=“0” width=“100%”> <tr> <td style=“padding-top: 10px;”>Left Column</td> <td>Right Column</td> <!-- The right column will ALSO have 10px of padding-top in Outlook 2007 --> </tr></table>LOTUS NOTES & HOTMAILLotus NotesSince Notes is very challenging to code for, make sure Notes users make up a significant portion of your audience before reconfiguring your code specifically for this environment.
  • 32. Notes only supports nesting 8 tables deep
  • 33. Specify defined widths wherever possible – avoid using 100% widths
  • 34. Use spacer .gifs for all padding
  • 35. Only use CSS for text formatting – font-family, size, color
  • 36. Eliminate colspans and rowspans – use nested tables instead to isolate elements
  • 37. New versions of Lotus Notes (such as version 8) provide HTML support much more consistent with other email clientsHotmailAvoid the background-image CSS property – use the HTML background attribute instead
  • 38. To remove the extra white space that appears below images in Firefox include style=“display: block;” in image tagsGMAIL & YAHOOGmailAvoid embedded CSS. Gmail will strip out embedded CSS, so use inline CSS instead.
  • 39. Issues exist with left/right CSS borders, use spacer .gifs or CSS padding instead.
  • 40. Avoid the background-image CSS property – use the HTML background attribute instead.
  • 41. Gmail Themes overwrite default link colors – always specify desired link colors.
  • 42. Don’t forget closing tags. Gmail is very particular about syntax, and the layout will suffer greatly if they are missing.Yahoo!The vertical space between paragraph tags <p> is not displayed – in the ExactTarget editor, use soft returns or line breaks <br> instead. In HTML paste, specify a top and bottom margin of 1em on paragraph tags. (e.g. <p style=”margin: 1em 0 1em 0;”>)DESIGN RESOURCES
  • 43. EXACTTARGET DESIGN RESOURCESDesign Tipsfor Outlook 2007Email MarketingDesign & Rendering: The New EssentialsEmail Design ChecklistVisit ExactTarget.comTo Download These ResourcesEmail Designfor Lotus NotesCareerBuilder.comCase Study
  • 44. EXACTTARGET DESIGN RESOURCESDesign Team BlogNew posts weekly!blog.exacttarget.comMarketingExperimentsMaximize Agency ROIthrough testingDesign Team Tweets@ETDesigntwitter.com/etdesign
  • 46. EXACTTARGET DESIGN SERVICESPerformance & Design AssessmentStrategic Newsletter DesignDesign Best Practices TrainingProgram-Specific Template DesignBranded Template BuildCustom Design PackagesVisit ExactTarget.com for more info!

Editor's Notes

  • #3: 1. Introduce presenters + attendees2. Overview of what we’ll cover.Overview of HTML vs. CSSCode for email not the same as code for webHTML is a markup language that is universally CSS is a style sheet whose form is separated from its contentPut yourself in the customer’s shoes when talking to them – the beautiful, efficient world of building websites with CSS doesn’t apply here.W3C puts together rough standards. These standards don’t exist for email.Proper syntax still counts – opening and closing tags
  • #4: :56
  • #5: :53Brief overview.Images link to the video
  • #6: :58Towards the top of the HTML, a red flag would be “script”Visual for white on white background. Gmail: repeat x and y support: vertical repeats keep repeating no matter what?OUTLOOK 2007 Validator available.
  • #7: :23Haha! Apparently Dreamweaver 4 (not CS4…just 4) writes decent codeCan be obtained by mugging a dinosaur
  • #8: :25
  • #9: :26
  • #10: :27When to come to design for help, ideas, etc?
  • #12: How our expertise in performance-driven design increased conversions by 88%