Вопрос

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

<a href="mailto:bread&amp;butter@xyz.com" style="color:#5a5a5a; text-decoration:none;">Bread&amp;butter@xyz.com</a>
Это было полезно?

Решение

Maybe something like this..

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

Source

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top