我可以把< style> ...< / style>标签在HTML文件的正文中以电子邮件发送? [英] Can I put a <style>...</style> tag within the body of a HTML file to send in email?
本文介绍了我可以把< style> ...< / style>标签在HTML文件的正文中以电子邮件发送?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
由于很多电子邮件客户端忽略HEAD标记,我可以在内文中嵌入内置样式表吗?
Since a lot of email clients ignore the HEAD tag, can I embed an inline stylesheet in the body?
推荐答案
简短的答案是没有。 Gmail会删除标记及其内容。
The short answer is no. Gmail strips the tag and it's content.
Hotmail,Yahoo! Mail和Windows Live Mail不会剥离body-element中的样式标签。
Hotmail, Yahoo! Mail and Windows Live Mail does not strip style-tags in the body-element.
But take a look at "The Ultimate Guide to CSS" for HTML email over at Campaign Monitor.
这篇关于我可以把< style> ...< / style>标签在HTML文件的正文中以电子邮件发送?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文