什么是 ?
下面的 HTML 代码有什么作用?
<meta http-equiv="Reply-to" content="[email protected]" />
HTTP 中似乎没有“Reply-to”等效标头。我应该删除它还是纠正它?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
?" />
下面的 HTML 代码有什么作用?
<meta http-equiv="Reply-to" content="[email protected]" />
HTTP 中似乎没有“Reply-to”等效标头。我应该删除它还是纠正它?
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(3)
我不确定“回复”是否仍然有效。它未在Sitepoint 参考中列出。然而,有一个古老的 W3C 规范说:
I am not sure 'Reply-to' is still valid. It's not listed in the Sitepoint Reference. However, there is an ancient W3C spec that says:
它可能应该使用
name
属性而不是http-equiv
:“回复”选项旨在成为发布您的电子邮件地址的一种方式,当时没有垃圾邮件问题。现在使用它很可能只会导致垃圾邮件。
It was probably supposed to use the
name
attribute instead ofhttp-equiv
:The 'reply-to' option was intended to be a way of publishing your email address, back when there was no spam problem. Using it now will more than likely only result in spam email.
Reply-to 是 name 属性中的值。您不想向他们提供您的电子邮件地址。您想要收集电子邮件地址,因此请在网页内的 a 元素中使用 mailto: 。当他们给你发电子邮件时,你会得到姓名和电子邮件地址。有关详细信息,请访问
W3Schools
Reply-to is the value that goes in the name attribute. You do not want to give them your e-mail address. You want to collect there e-mail address so use mailto: in the a element within the web page. when they e-mail you, you got there name and e-mail address. For more information go to
W3Schools