Should mailto be used in HTML5?

前端 未结 4 1612
后悔当初
后悔当初 2021-01-07 23:40

A year or so ago I decided to stop using the mailto tag because many times it is annoying to the user. It will bring up an email program that the user may not be using at th

4条回答
  •  暖寄归人
    2021-01-08 00:02

    My perception is that the use of mailto is not related to HTML5 or any other markup spec, but a matter of personal/company coding convention. If you choose to deprecate the protocol, then that's fine, but it will not make any notable difference to spam.

    It might be useful to do some A/B testing to replace the mailto with a contact form and see the difference in response rates...

提交回复
热议问题