最佳实践&编写HTML电子邮件时的注意事项 [英] Best Practices & Considerations when writing HTML Emails

查看:217
本文介绍了最佳实践&编写HTML电子邮件时的注意事项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发网站已有十多年了,但很快发现,我开发网络的许多习惯对于电子邮件客户端开发都是没有用的。这使我有很大的挫折感,所以我想我会问一个问题,希望表达最好的做法和必要的考虑,对于像我这样的人,他们可能会发现自己设计的Gmail,展望等不时。 / p>

示例: < style> ...< / style> vs CSS。



简而言之:从网络世界到电子邮件世界的转移,以及不是什么。

解决方案

这似乎是一个很好的地方列出一些资源,任何人试图学习HTML电子邮件。这是(可能)您将在网络上找到的最全面的HTML电子邮件资源列表。快乐学习。



入门指南:





一般指南:





您应该始终在HTML电子邮件中嵌入CSS。以下是 CSS内嵌工具



回应指南:





模板&框架:





响应备用示例:





上面的Ted Goas Responsive链接也是一个很好的例子。



疑难解答一般指南:





您需要使用 VML 以获取在Outlook中使用的背景图片(除了在body标签中)。以下是一些VML链接:




I've been developing websites for over a decade now, but quickly found that many of my habits in developing for the web are useless when developing for email clients. This has caused me an enormous amount of frustration, so I thought I would ask a question that would hopefully surface the best practices and necessary considerations for others like myself who may find themselves designing for gmail, outlook, etc. from time to time.

Example: <style>...</style> vs inline CSS.

In short: what transfers over from the web-world to the email-world, and what doesn't.

解决方案

This seems like a great place to list some resources for anyone trying to learn HTML email. This is (probably) the most comprehensive list of HTML Email resources you will find on the web. Happy learning.

Getting Started Guides:

CSS Support & General Guides:

You should always inline your CSS in html-email. Here is a list of CSS Inlining Tools

Responsive Guides:

Templates & Frameworks:

Responsive Alternate Examples:

Also the Ted Goas Responsive link above has an excellent fluid example.

Troubleshooting & General Guides:

You'll need to use VML to get background images working in Outlook (Except in the body tag). Here are some VML links:

这篇关于最佳实践&amp;编写HTML电子邮件时的注意事项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆