简体   繁体   English

如何在 Outlook 中悬停时隐藏 URL 链接

[英]How to hide URL link on hover in Outlook

I've made a email template in HTML for Outlook and it includes a button, when the user clicks the button it navigates to a website.我为 Outlook 制作了一个 HTML 格式的电子邮件模板,它包含一个按钮,当用户单击该按钮时,它会导航到一个网站。 I'm trying to hide the URL link when the user hovers over it.当用户将鼠标悬停在 URL 链接上时,我试图隐藏它。

When I test the template using Google Chrome the URL doesn't appear and when you click on the button it goes to the website but when I send the template in Outlook, you can't see the link when you hover over it but when I click on the button it doesn't go to the website.当我使用谷歌浏览器测试模板时,URL 不会出现,当您单击按钮时,它会转到网站,但是当我在 Outlook 中发送模板时,将鼠标悬停在它上面时看不到链接,但是当我单击按钮它不会转到网站。

I'm fairly new at this, so was wondering it anyone could help.我对此很陌生,所以想知道任何人都可以提供帮助。 The code I'm currently using is:我目前使用的代码是:

<a onclick="location.href='IP Address'">Click here</a>

This is impossible (thankfully, since support for this would be a great boon to phishers).这是不可能的(谢天谢地,因为对此的支持对网络钓鱼者来说是一个巨大的福音)。

Email clients that accept HTML formatted mail do not accept JavaScript.接受 HTML 格式邮件的电子邮件客户端不接受 JavaScript。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM