我有几个 mailto
HTML 文档中的链接。
<a href="mailto:etc...">
我可以在 mailto:
中插入 HTML 格式的正文吗? href
的一部分?
<a href="mailto:me@me.com?subject=Me&body=<b>ME</b>">Mail me</a>
注意 (2016) 在 iOS 中,添加 <i>
完全没问题和 <b>
用于简单斜体、粗体格式的标签。
最佳答案
正如您在 RFC 6068 中看到的那样,这根本不可能:
The special
<hfname>
"body" indicates that the associated<hfvalue>
is the body of the message. The "body" field value is intended to contain the content for the first text/plain body part of the message. The "body" pseudo header field is primarily intended for the generation of short text messages for automatic processing (such as "subscribe" messages for mailing lists), not for general MIME bodies.
关于html - 带有 HTML 正文的 mailto 链接,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5620324/