When creating HTML emails, should we use html, head, body tags?

后端 未结 6 595
轻奢々
轻奢々 2021-01-31 06:57

In my email views, I usually just do something like...

Name
Value

Should

6条回答
  •  孤独总比滥情好
    2021-01-31 07:12

    Many of the posts on this thread are rather old, and as a result they are no longer accurate.

    These days HTML emails should include a doctype, html and body declaration if you intend to do anything fancy at all.

    There are a multitude of guides on this subject which can help you learn how to properly code HTML Email, but most of them disregard the specifics of a doctype, which is how I stumbled on your question.

    I suggest you read the following 2 posts which are from reputable teams familiar with the various problems:

    campaign monitor's take

    email on acid's take

提交回复
热议问题