13

Email clients are limited in their HTML display capabilities.

What HTML markup and CSS styles is it safe to use in HTML-formatted email?

Kev
  • 2,656
  • 3
  • 39
  • 63
  • A wild lurker downvoted - what a surprise. – Kev Jan 31 '13 at 14:35
  • 1
    Why does this surprise you? Following stackoverflows guidelines, the question should be downvoted, as "this question does not show any research effort." It has also been answered numerous times before on the html-email tag and can be answered with a single link. – samanthasquared Jan 31 '13 at 16:35
  • 3
    I was being sarcastic, sorry if you didn't pick up on that. At least justify your downvote then the asker can expand their question / clarify without having to ask. – Kev Jan 31 '13 at 16:59

2 Answers2

19

In general you want to stick to 10+ years old HTML.

Avoid trying to link to external stylesheets and avoid styles in the HEAD.

Use inline styles.

Use HTML tables for layout.

Industry standard is to stick to width of 600px or less for your email content.

This is a good guide: http://kb.mailchimp.com/article/how-to-code-html-emails

Billy Moat
  • 20,792
  • 7
  • 45
  • 37
5

Some useful links on this subject detailing which clients support what markup and style:

Places you can get help building cross-client HTML e-mail:

andyb
  • 43,435
  • 12
  • 121
  • 150