mailto:在锚标签中实际上是否支持附件? [英] Does the mailto: in anchor tag actually support attachments?
本文介绍了mailto:在锚标签中实际上是否支持附件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否可以在HTML中的mailto:标签中指定附件?
Is it possible to have attachments to be specified in the mailto: tag in HTML?
< a href =test@test.com?body = somebody& subject = someSubject>我的链接< / a>
< a href="test@test.com?body=somebody&subject=someSubject">my link < /a>
如果是,如何指定附件:
if yes, how can I specify an attachment on:
- 在用户的机器中
- 在服务器
推荐答案
p>首先,重要的是, mailto
不是标签,它是一个 URL方案。其次,不,该计划只允许您为 RFC 822 标题提供价值。可能有特定MUA支持的黑客,但是它们不会被移植。
Firstly, and it is important, mailto
is not a "tag", it's a URL scheme. Secondly, no, the scheme only allows you to supply values for RFC 822 headers. There may be hacks supported by particular MUAs, but they won't be portable.
这篇关于mailto:在锚标签中实际上是否支持附件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文