HTML Fails: What No One Tells You About Email HTML



Similar documents
8 STEPS TO CODE KILLER RESPONSIVE S

Creative Guidelines for s

The Essential Guide to HTML Design

GUIDE TO CODE KILLER RESPONSIVE S

Campaign Guidelines and Best Practices

Eloqua What is this and why should I read it?

Designing HTML s for Use in the Advanced Editor

Agenda. 1. ZAPms Konzept. 2. Benutzer-Kontroller. 3. Laout-Aufbau. 4. Template-Aufbau. 6. Konfiguration. 7. Module.

CS134 Web Site Design & Development. Quiz1

RESPONSIVE DESIGN

Web Design Course. Home Page. Join in. Home. Objectives. Course Content. Assignments & Discussion. Grades. Help. Contact Me aab43@uakron.

How to Properly Compose HTML Code : 1

CSS SUPPORT IN THE PROBLEM WE SHOULD BE FIXING FIRST #LETSFIX

Web Application Report

Coding HTML Tips, Tricks and Best Practices

MCH Strategic Data Best Practices Review

TEMPLATE GUIDELINES OCTOBER 2013

How To Design An In Html (Html) And Html (Mailbox) Safely

Chapter 1: Outlook Isn t Going Anywhere Chapter 2: 17 Must-Know Tricks for Outlook 2007, 2010 &

Marketing 101 Maximizing Results

<?xml version= 1.0?> <!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN

This document will describe how you can create your own, fully responsive. drag and drop template to use in the creator.

How To Create A Web Page On A Windows (For Free) With A Notepad) On A Macintosh (For A Freebie) Or Macintosh Web Browser (For Cheap) On Your Computer Or Macbook (

Secure Testing Service

AMA Digital/Web Advertising Placements - Banner Sizes

Looking Good! Troubleshooting Display Problems

GEMFIND. We Handle The Journey. So You Can Focus On The Destination. WEB TECHNOLOGIES FOR THE JEWELRY INDUSTRY - Est. 1999

HTML Power Tips. HTML messages improve your CTR. World s Easiest Marketing.

The Da Vinci Coding: The Art of HTML

Creator Coding Guidelines Toolbox

HTML Lesson 7. Your assignment:

A quick guide to... Effective HTML Messages

Creating Effective HTML Campaigns

RESPONSIVE DESIGN BY COMMUNIGATOR

HTML TIPS FOR DESIGNING

Informz for Mobile Devices: Making Your s PDA and Phone-Friendly

How to craft a modern, mobile-optimized HTML template. Jason Samuels, NCFR IT Manager DrupalCamp Twin Cities May 2012

The Essential Guide to HTML Design

Advanced Web Design. Zac Van Note.

Apple URL Scheme Reference

Contents. Downloading the Data Files Centering Page Elements... 6

Guide to B2B marketing. Part Three: Building great s

In this chapter, you will learn how to...

Responsive Design. Our guide to helping you get started. March 2013 Version 0.4

Responsive HTML and Drupal

Web Development. Owen Sacco. ICS2205/ICS2230 Web Intelligence

customer community Getting started Visual Editor Guide!

Links Getting Started with Widgets, Gadgets and Mobile Apps

Converting Prospects to Purchasers.

Introduction to Drupal

Essential HTML & CSS for WordPress. Mark Raymond Luminys, Inc mraymond@luminys.com

Penetration Testing with Selenium. OWASP 14 January The OWASP Foundation

HTML MARKETING GUIDE

Marketing. Best Practices

JJY s Joomla 1.5 Template Design Tutorial:

Table of Contents THE DESIGNER S GUIDE TO CREATING NEWZAPP DRAG AND DROP TEMPLATES... 6 THE NEWZAPP SYSTEM... 7

Web Development Guide. Information Systems

Web Development 1 A4 Project Description Web Architecture

Joomla Article Advanced Topics: Table Layouts

We automatically generate the HTML for this as seen below. Provide the above components for the teaser.txt file.

Introduction to Web Development

Creating HTML authored webpages using a text editor

Table of Contents Desktop PC and Apple Mac applications Web and mobile device readers Find out more about NewZapp

WEB DEVELOPMENT IA & IB (893 & 894)

FOUNDATION OF INFORMATION TECHNOLOGY Class-X (TERM II)

Introduction to Web Design Curriculum Sample

LaGuardia Community College Thomson Ave, Long Island City, New York Created by ISMD s Dept. Training Team. Overview

This tutorial assumes that you are familiar with ASP.Net and ActiveX controls.

.NET Best Practices Part 1 Master Pages Setup. Version 2.0

New Perspectives on Creating Web Pages with HTML. Considerations for Text and Graphical Tables. A Graphical Table. Using Fixed-Width Fonts

Marketing Design & Rendering: The New Essentials

Learnem.com. Web Development Course Series. Learn em. HTML Web Design in 7 days! By: Siamak Sarmady

Web design 1: Introduction to creating a website using Dreamweaver MX

RESPONSIVE DESIGN FOR MOBILE RENDERING

Designing HTML ers

Chapter 1 Introduction to web development and PHP

How To Use Dreamweaver With Your Computer Or Your Computer (Or Your Computer) Or Your Phone Or Tablet (Or A Computer)

Web Designing with UI Designing

Responsive Design Best Practices

Reporting - Bounce rates

Outline of CSS: Cascading Style Sheets

page.includelibs.gmenu_layers = typo3/sysext/cms/tslib/media/scripts/gmenu_layers.php

Transcription:

HTML Fails: What No One Tells You About Email HTML

2 Today s Webinar Presenter Kate McDonough Campaign Manager at PostUp Worked with various ESPs: Constant Contact, Campaign Monitor, ExactTarget, Distribion Questions from today s webinar will be held at the end. kmcdonough@postup.com

3 Today s Agenda Some basic tips and pitfalls to avoid: The Anatomy of an Email DOCTYPES Table Properties Tags and Capitalization Alt Text & Which Clients Display Images by Default Misuse of <center> and <br> Tags Copying & Pasting HTML

The Anatomy of an Email 4

5 The Anatomy of an Email All emails have a basic skeletal structure Ignoring the structure and misplacing the bones can lead to rendering problems Not all elements of the skeleton must be used, but they should be in the same order

6 The Anatomy of an Email <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>this is the title of your document, when viewed as a webpage some browsers will show this</title> <style type="text/css"> * { padding: 0px; border: none; line-height: normal; outline: none; list-style: none; -webkit-text-size-adjust: none; } </style> </head> <body marginwidth="0" marginheight="0" style="width: 100%!important;-webkit-textsize-adjust: 100%; -ms-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; " offset="0" topmargin="0" leftmargin="0" bgcolor="#ffffff"> <table align="center" border="0" cellpadding="0" cellspacing"0">

7 The Anatomy of an Email <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>this is the title of your document, when viewed as a webpage some browsers will show this</title> <style type="text/css"> * { padding: 0px; border: none; line-height: normal; outline: none; list-style: none; -webkit-text-size-adjust: none; } </style> </head> <body marginwidth="0" marginheight="0" style="width: 100%!important;-webkit-textsize-adjust: 100%; -ms-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; " offset="0" topmargin="0" leftmargin="0" bgcolor="#ffffff"> <table align="center" border="0" cellpadding="0" cellspacing"0">

8 The Anatomy of an Email <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>this is the title of your document, when viewed as a webpage some browsers will show this</title> <style type="text/css"> * { padding: 0px; border: none; line-height: normal; outline: none; list-style: none; -webkit-text-size-adjust: none; } </style> </head> <body marginwidth="0" marginheight="0" style="width: 100%!important;-webkit-textsize-adjust: 100%; -ms-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; " offset="0" topmargin="0" leftmargin="0" bgcolor="#ffffff"> <table align="center" border="0" cellpadding="0" cellspacing"0">

9 The Anatomy of an Email <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>this is the title of your document, when viewed as a webpage some browsers will show this</title> <style type="text/css"> * { padding: 0px; border: none; line-height: normal; outline: none; list-style: none; -webkit-text-size-adjust: none; } </style> </head> <body marginwidth="0" marginheight="0" style="width: 100%!important;-webkit-textsize-adjust: 100%; -ms-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; " offset="0" topmargin="0" leftmargin="0" bgcolor="#ffffff"> <table align="center" border="0" cellpadding="0" cellspacing"0">

10 The Anatomy of an Email <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>this is the title of your document, when viewed as a webpage some browsers will show this</title> <style type="text/css"> * { padding: 0px; border: none; line-height: normal; outline: none; list-style: none; -webkit-text-size-adjust: none; } </style> </head> <body marginwidth="0" marginheight="0" style="width: 100%!important;-webkit-textsize-adjust: 100%; -ms-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; " offset="0" topmargin="0" leftmargin="0" bgcolor="#ffffff"> <table align="center" border="0" cellpadding="0" cellspacing"0">

11 The Anatomy of an Email <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>this is the title of your document, when viewed as a webpage some browsers will show this</title> <style type="text/css"> * { padding: 0px; border: none; line-height: normal; outline: none; list-style: none; -webkit-text-size-adjust: none; } </style> </head> <body marginwidth="0" marginheight="0" style="width: 100%!important;-webkit-textsize-adjust: 100%; -ms-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; " offset="0" topmargin="0" leftmargin="0" bgcolor="#ffffff"> <table align="center" border="0" cellpadding="0" cellspacing"0">

12 The Anatomy of an Email <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>this is the title of your document, when viewed as a webpage some browsers will show this</title> <style type="text/css"> * { padding: 0px; border: none; line-height: normal; outline: none; list-style: none; -webkit-text-size-adjust: none; } </style> </head> <body marginwidth="0" marginheight="0" style="width: 100%!important;-webkit-textsize-adjust: 100%; -ms-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; " offset="0" topmargin="0" leftmargin="0" bgcolor="#ffffff"> <table align="center" border="0" cellpadding="0" cellspacing"0">

13 The Anatomy of an Email <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>this is the title of your document, when viewed as a webpage some browsers will show this</title> <style type="text/css"> * { padding: 0px; border: none; line-height: normal; outline: none; list-style: none; -webkit-text-size-adjust: none; } </style> </head> <body marginwidth="0" marginheight="0" style="width: 100%!important;-webkit-textsize-adjust: 100%; -ms-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; " offset="0" topmargin="0" leftmargin="0" bgcolor="#ffffff"> <table align="center" border="0" cellpadding="0" cellspacing"0">

DOCTYPES 14

15 Why Use a DOCTYPE? DOCTYPES should be used in all emails and be placed before the <html> tag Some web clients will strip out the DOCTYPES Subtle differences in how email clients render HTML emails with different DOCTYPES 8 variations

16 The Best DOCTYPE for Email XHTML 1.0 transitional: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/tr/xhtml1/dtd/xhtml1- transitional.dtd"> Proven to be most reliable

17 Effects of Not Having a DOCTYPE No DOCTYPES = no paragraph margin This can be seen in clients like: Gmail Apple Mail ipad iphone Symbian S60 (Nokia)

18 Effects of Not Having a DOCTYPE No DOCTYPES = Some special characters not supported Problems in IE browsers with rendering margins and padding as specified

Table Properties 19

20 Not Setting Table Properties Specifically cellpadding and cellspacing Why this matters: Affects the alignment of your email Breaks with multiple tables If not set to 0 Outlook will add 2 pixels of padding between all cells in a table

21 Not Setting Table Properties <table width="600" cellpadding="0" cellspacing="0">

Tags & Capitalization 22

Capitalizing Tags 23

24 Capitalizing Tags Emails are in XHTML format Case sensitive, requires all tags to be lowercase Capitalized tags should be kept to web design only

Alt Text & Default Display Image 25

26 Not Including Alt Text Spam filters & scoring Alt text can function as CTAs for emails that are image heavy

27 Not Including Alt Text Desktop clients that enable images, support alt text:

28 Not Including Alt Text Webmail clients that enable images, support alt text:

29 Not Including Alt Text Mobile clients that enable images, support alt text:

Misuse of <center> and <br> Tags 30

31 Using the Tag <center> to Center-Align Commonly used to center align text <center> can display differently in certain browsers Purely presentational rather than structural

Using the Tag <center> to Center-Align 32

33 Using the Tag <center> to Center-Align <center> <table border="0" cellpadding="0" cellspacing="0" bgcolor="#ebebeb"> <tr> <td align="center"> <table> <table border="0" cellpadding="0" cellspacing="0" bgcolor="#ebebeb align="center"> <tr> <td align="center"> <table> content content </table> </td> </tr> </table> </center> BEFORE </table> </td> </tr> </table> AFTER

34 Misuse of the Break <br /> Tag Written multiple ways: <br> <br/> <br /> Preferred variation is <br />. If your doctype is specified using HTML you can use the <br> tag. In XHTML, you must close the tag with a final slash (e.g. <br />) Most emails use XHTML Using break tags; in place of rows with fixed heights in place of lists

Copying & Pasting HTML 35

36 Copying & Pasting from a Microsoft Product Never keep your HTML in a Word doc Never copy and paste from a Microsoft Product Copying and pasting from a Microsoft program can cause damage Microsoft products embed unseen code

37 Copying & Pasting from a Microsoft Product

Questions? 38

Thank You! kmcdonough@postup.com Find me on twitter @PostUpKate marketing@postup.com 39