如何删除电子邮件签名中的超链接下划线

How to remove hyperlink underline in Email Signature

我创建了电子邮件签名,但超链接可见如何删除电子邮件签名中的超链接下划线

这是 Gmail 的行为。它将签名中的任何网站地址自动转换为hyperlinks.

Gmail 当前没有可以关闭这些 hyperlink 的设置。但是还有一个办法。

单击“撰写邮件”按钮将打开一封新的撰写邮件 window,其中填充了签名。现在单击消息文本区域上方的 Pain Text 选项以删除 hyperlink.

关注 this link。可能对你有帮助。

您需要在 html.

中关闭 img 标签和周围锚标签之间的所有间隙

此代码将显示小下划线。

<a href="https://www.example.com" style="border-width:0px; border:0px; text-decoration: none;">
                        <img width="25" height="25" style="vertical-align: middle; border: none; width: 25px; max-width: 25px !important; height: 25px; max-height: 25px !important;"
                            src="http://example.com/test.png">
                    </a>

此代码不会。

<a href="https://www.example.com" style="border-width:0px; border:0px; text-decoration: none;"><img width="25" height="25" style="vertical-align: middle; border: none; width: 25px; max-width: 25px !important; height: 25px; max-height: 25px !important;" src="http://example.com/test.png"></a>