如何在电子邮件地址中将电子邮件与“&”相关联

时间:2021-05-09 20:18:43

I just wanted to link an email in html with an email address in which "&" is there.. can it be possible with mailto method..?

我只想将html中的电子邮件与电子邮件地址链接,其中“&”就在那里..可以使用mailto方法吗?

<a href="mailto:bread&amp;butter@xyz.com" style="color:#5a5a5a; text-decoration:none;">Bread&amp;butter@xyz.com</a>

1 个解决方案

#1


1  

Maybe something like this..

也许是这样的......

<a href="mailto:bread%26butter@xyz.com" style="color:#5a5a5a; text-decoration:none;">Bread&amp;butter@xyz.com</a>

Source

#1


1  

Maybe something like this..

也许是这样的......

<a href="mailto:bread%26butter@xyz.com" style="color:#5a5a5a; text-decoration:none;">Bread&amp;butter@xyz.com</a>

Source