html - 需要有关电子邮件上的 html 按钮的帮助
问题描述
我有这个按钮可以在浏览器上正确重定向;但是,每当我将其放在 Gmail 的电子邮件中时,它都不会重定向
<DIV style="TEXT-ALIGN: center">
<A style="FONT-SIZE: 14px;
FONT-FAMILY: Arial;
WIDTH: 100%;
COLOR: #fff;
TEXT-ALIGN: center;
DISPLAY: inline-block;
LINE-HEIGHT: 50px;
BACKGROUND-COLOR: #0070ba;
border-radius: 50px" href="[websitelinkhere}">
<STRONG>vérifiez votre compte </STRONG>
</A>
</DIV>
解决方案
现在试试。它需要经过html验证。每次检查:https ://validator.w3.org
<div style="text-align: center">
<a style="font-size: 14px;
font-family: Arial;
width: 100%;
color: #fff;
text-align: center;
display: inline-block;
line-height: 50px;
background-color: #0070ba;
border-radius: 50px" href="[websitelinkhere]">
<strong>vérifiez votre compte </strong>
</a>
</div>
推荐阅读
- python - 尝试访问 Binance API 时出错:“Binance”对象没有属性“binance_keys”
- android - 如何从字符串文件(getResources)android中获取TabLayout的名称
- php - 语法错误,意外 ')',期待 '[' (查看:C:\project\laravel\project1\app\resources\views\products.blade.php)
- python - 如何使用 Tensorflow Federated 中的多个功能构建模型?
- c# - 是否可以为一组属性值创建一个单独的序列?
- sql - SQL - 根据时间戳删除重复项
- java - UnsatisfiedDependencyException when creating MongoTemplate bean
- google-apps-script - 让谷歌表格脚本重复多个数据然后清除单元格的问题
- authentication - 带有客户端证书的 Azure Web App SSL 身份验证 - 如何诊断
- javascript - 如何在反应钩子上的对象内 foreach/map 数组?