How to prevent Chrome and other browsers to convert email address like text into mailto links?

I was putting a text like this. address&[email protected], on our web site just as plain text. But the browser displays it as it is inside a link anchor.

How does one stop the browser from creating links automatically?

Upvotes: 1

Views: 808

Answers (1)

Set span tags around @ like <span>@</span>.

Example:

name<span>@</span>domain.com

Upvotes: 1

Related Questions