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?

3
  • A wild lurker downvoted - what a surprise.
    – Kev
    Jan 31, 2013 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. Jan 31, 2013 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, 2013 at 16:59

2 Answers 2

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

0
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:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.