Archive for the ‘HTML’ Category

Search Marketing: Optimize your HTML Newsletters for Maximum Compatibility

Sunday, June 8th, 2008

Any decent search marketing campaign will, at some point, have to entertain the effectiveness of promoting e-newsletters. The real bottom line is that marketing your site’s content by way of e-mail promotions can only serve to drive prospective visitors to your site (if not for the simple fact that providing less opportunites for potential visitors means, well, less potential visitors).

E-mail clients are way more finicky and moody than web browsers, so, the real question–for the purposes of this post, at least–is how market your e-newsletters to largest possible audience.

Here are six simple tips on how to best optimize how your HTML newsletters are coded to reach the widest possible audience:

  1. Don’t be so fancy–code in HTML 3.2
  2. Do I have to download another file–again?!
  3. Gain control–lose your HEAD
  4. Use inline styles
  5. Duplicate your styles when using anchors
  6. Use CSS 1–sparingly

1. Code in HTML 3.2

HTML has made some great advances since its inception. The HTML 5 spec includes the canvas element, which essentially gives you the ability to graph points and draw vector lines on-the-fly. I mean, how freaking cool is that?!

Newsletter technology, however, is not so freaking cool. Most e-mail clients tend to strip out HTML elements, and/or refactor your code, destroying most modern layouts based on silly things like “standards,” and “compliance.”

The solution? Code your newsletter under the HTML 3.2 specification. This basically means using TABLEs to control page layout and minimal CSS1 to define styles. In other words: technology circa 1998. (There’s nothing quite like living in the past.)

2. Don’t include files

To help combat spam, most e-mail clients these days will ask if you want to load images, or download any supporting files. (One way for spammers to tell if messages are actually opened is if an HTTP request is made to their servers for supporting files.)

What does this mean for the honest newsletter developer? Well, you should already be avoiding JavaScript files (like the black plague), but for simple styling, don’t link out to external files:


<link rel="stylesheet" type="text/css" media="all" href="http://server.com/newsletter.css" />

Define them in your document:


<head>
<style type="text/css" media="all">
p {
  font:11px Georgia, serif;
}
</style>
</head>

3. Include nothing in the HEAD

Most developers are used to lumping external files and META data in the <head> of the document. This can have its advantages (or, disadvantages), but must simply be avoided when developing newsletters.

Why? Mail clients like to add their own e-mail headers, so–while some will keep your headers–most will either modify them, or strip them out entirely, so it’s better to simply think of anything contained in the <head> as not belonging to you.

So, instead of normally defining a style, like:


<head>
<style type="text/css" media="all">
p {
  font:11px Georgia, serif;
}
</style>
</head>

Do so within the <body> of your document:


<body>
<style type="text/css" media="all">
p {
  font:11px Georgia, serif;
}
</style>

Your <head> belongs to them.

4. Use inline styles

While some most mail clients will read your stylesheets, many will simply not. So, it’s best if you simply ignore them; and, simply do not rely on CSS-based layouts. (Think of how your document would render with the stylesheet completely stripped out for a sense as to how your CSS-based newsletter will look on some e-mail clients.)

So, if you have to use CSS–as many of us do–do so inline. Instead of defining classes or elements:


<style type="text/css" media="all">
p {
  font:11px Georgia, serif;
}
</style>

Define each element as you go:


<p style="font:11px Georgia, serif">

The result is more code, that works in more e-mail clients.

5. Duplicate your styles when using anchors

Some clients will strip out styles for anchors, or refuse to inherit the parent style, so–even if you’re explicitly defining how your anchors should look:


<a href="http://server.com" style="font:11px Georgia, serif">I am so enticing you>/a>

Define the parent container to look the same:


<td style="font:11px Georgia, serif"&gt
<a href="http://server.com" style="font:11px Georgia, serif">I am so enticing you</a>
</td>

6. Use CSS 1–sparingly

While some mail clients are CSS-friendly, many are not. For example, GMail and Outlook 2007 do not support CSS-based layouts, nor background images. (Many mail clients do support background images, just use them gracefully, such that there absence doesn’t take away from your message.)

Even though some mail clients will render the above examples as you would expect, others will not. Instead of explicitly declaring the font style, break that down into specific attributes:


<a href="http://server.com" style="font-size:11px; font-family:Georgia, serif">I am so enticing you>/a>

Your overall codebase will larger, and more bloated, but these guidelines will help grauntee your HTML newsletters will be optimized for maximum compatibility.

  • trim
  • candles
  • bea 71 series staples
  • randy moss jail
  • chicago bears posters
  • mtv dougie
  • thermostats
  • bengals insider
  • camry
  • dis 0 0.9
  • connecticut 7 day weather forecast
  • la ink yahoo answers
  • freida pinto chanel
  • dis v44
  • freida pinto zac posen
  • myth
  • beamerbea france
  • chad ochocinco traded
  • dis quand reviendras-tu
  • cspan goldman sachs hearingcspan history
  • zara phillips queen elizabeth
  • cohf
  • networks
  • zara phillips wedding hat
  • new england patriots 98.5
  • bengals hard knocks episode 1
  • cspan journal
  • gardner
  • search comcast net
  • connecticut renaissance faire
  • hp support 530
  • bea verdi
  • alan
  • dist 91
  • adhesive
  • tea party ribbons
  • archival
  • vince young jersey texas
  • tea party table settings
  • cspan question timecspan radio
  • mooney
  • aspen
  • lavigne
  • saddle
  • killing
  • february
  • bengals usa
  • new england patriots 07
  • battleship yamato 2010
  • hp support 6930p
  • battleship 3d game
  • hp support monitors
  • linus
  • chad ochocinco height and weight
  • montel
  • pennies
  • mtv cartoons
  • chad ochocinco to patriots
  • scored
  • new england patriots espn blog
  • icons
  • zara phillips school
  • battleship 1967
  • repo
  • hp support chat
  • search engines other than google
  • hp support chat
  • doing
  • dis poem
  • mtv executivesmtv fantasy factory
  • hp support greece
  • new england patriots gillette stadium
  • chicago bears gifts
  • vince young 3rd 30
  • zara phillips yachtzara phillips zimbio
  • buick
  • new england patriots rumors
  • search engines questions
  • search dog foundation
  • bengals 09
  • dis unplugged show notes
  • dis systems
  • chicago bears 08 record
  • cspan michelle bachmann
  • quiznos
  • chicago bears 61
  • vince young uncle rico
  • la ink ink
  • multi
  • chicago bears football club
  • chad ochocinco quits football
  • battleship ipad
  • 60 search engines virus
  • stops
  • battleship galactica
  • chicago bears expo 2011
  • msdn
  • search jail inmates
  • search 78search 800 numbers
  • search engines non tracking
  • chad ochocinco vs skip bayless
  • connecticut natural gas
  • bachelors
  • search google cache
  • hp support 6500a plus
  • c span 4 to 5
  • elevator
  • cspan hosts
  • greg olsen boulder
  • connecticut sun
  • another
  • bengals cheerleaders tryouts 2011
  • savoy
  • lear
  • search engines us
  • greg olsen twitter
  • achat
  • search with image
  • connecticut post
  • badge
  • la ink 105
  • tea party medicare
  • bobcat
  • mtv 2 schedule
  • vince young 10 11
  • hp support contact number
  • dis boards cruise
  • new england patriots jake locker
  • chad ochocinco ultimate catch cast
  • chicago bears 96
  • hp support error 1005
  • battleship excel
  • 1000
  • which
  • randy moss autograph
  • vince young yahoo stats
  • zara phillips baby
  • la ink show
  • vince young injury
  • di's hallmark
  • tea party hats
  • new england patriots wiki
  • graduates
  • sandman
  • tea party for kids
  • responsibility
  • c span kozol
  • seatle
  • wheather
  • search in vi
  • bengals 09 record
  • connecticut quarter error
  • marlboro
  • greg olsen no greater love
  • la ink season 6
  • wesley
  • sensitivity
  • cspan ap government review
  • 2500
  • cspan kucinich
  • disloyaldis magazine
  • connecticut 97.7connecticut attorney general
  • zara phillips and the queen
  • potentiometer
  • bengals qb situation
  • battleship vittorio veneto
  • zara phillips facebookzara phillips gossip
  • search engines before google
  • new england patriots 50
  • search engines cookiessearch engines definition
  • connecticut football
  • chad ochocinco quotes video
  • new england patriots helmet
  • tea party young people
  • handbook
  • vince young rumors
  • freida pinto green dress
  • vince young dadvince young eagles
  • bea diy
  • bengals xxiii
  • randy moss 07 08 highlights
  • hp support error 1005
  • hp support center
  • connecticut law tribune
  • hp support quick test pro
  • connecticut juvenile training schoolconnecticut kids
  • search engines 2008
  • bea spells a lot
  • hp support id
  • zara phillips royal wedding picture
  • fontana