The sole intent of my article is to demonstrate how one can use standards-based markup for HTML emails. Like it or not, HTML emails are here to stay. So, For those of you who are ready to improve the markup of your HTML emails, here is a quick compatability guide to HTML tags & CSS Properties for different web-based & PC based email environments.
| HTML Tags | PC based email environments | Web-based email environments | |||
| Outlook 2003/OE | Gmail | Yahoo Mail | Windows Live Mail | Hotmail | |
| <style> element in the <head> | |||||
| <style> element in the <body> | |||||
| <link> element in the <head> | |||||
| <link> element in the <body> | |||||
| CSS Properties | |||||
| background-color | |||||
| background-image | |||||
| background-position | |||||
| background-repeat | |||||
| border | |||||
| border-collapse | |||||
| border-spacing | |||||
| bottom | |||||
| color | |||||
| cursor | |||||
| display | |||||
| float | |||||
| font-family | |||||
| font-size | |||||
| font-style | |||||
| font-weight | |||||
| height | |||||
| left | |||||
| letter-spacing | |||||
| line-height | |||||
| list-style-image | |||||
| list-style-position | |||||
| list-style-type | |||||
| margin | |||||
| opacity | |||||
| overflow | |||||
| padding | |||||
| position | |||||
| right | |||||
| text-align | |||||
| text-decoration | |||||
| text-indent | |||||
| text-transform | |||||
| top | |||||
| vertical-align | |||||
| visibility | |||||
| width | |||||
| word-spacing | |||||
| z-index | |||||
Concluding Words..
HTML emails that contain semantic markup and CSS gel very well with the most commonly used email clients. And for clients that offer poor or no support, the semantic markup allows for graceful degradation.
And, for all those who really do not want to handle the long list mentioned above, you always have these words to mention above your email “Having trouble reading this email? Click here to View it in your browser.” ![]()
This chart is only correct for Outlook 2003, 2007 does not support background images.
WTF please unpost this artical ,
this is not correct.
Hello Jason,
Why do you think it is not correct? Please enlighten me.
Hello Collin,
I think you are right, just missed out on the version!! Thanks for pointing that out.
I’ve been able to do things with CSS that I was not capable of doing with tables.
Hello Vivian,
Its good to know that you follow our blog regularly,& yes we make it a point to write articles that are easily understandable. Thanks for the inspiring feedback!!