What version of HTML to use in emails?

后端 未结 4 420
孤城傲影
孤城傲影 2021-01-25 04:29

What version of html would yo recommend for mail content to get best mail-client compatibility?

HTML 3.2
HTML 4.01 transitional
HTML 4.01 strict
XHTML 1.0

4条回答
  •  一向
    一向 (楼主)
    2021-01-25 04:38

    Keep it as legacy and forgiving as possible. That being said, most email clients will strip the head and html anyway so your doctype isn't really all that important.

    Check out this great article: http://24ways.org/2009/rock-solid-html-emails and also this list of CSS properties and which email clients support them: http://www.campaignmonitor.com/css/

提交回复
热议问题