Safe markup for HTML email

Email clients are limited in their HTML display capabilities.

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


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


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

  • http://www.campaignmonitor.com/css/
  • http://www.email-standards.org/
  • Places you can get help building cross-client HTML e-mail:

  • https://www.mailrox.com/
  • https://www.getfractal.com/
  • 链接地址: http://www.djcxy.com/p/92870.html

    上一篇: 应该在电子邮件地址中使用大写字母吗?

    下一篇: HTML电子邮件的安全标记