简体   繁体   English

email 上的 html 按钮需要帮助

[英]Need help for a html button on email

I have this button that redirects correctly on the browser;我有这个按钮可以在浏览器上正确重定向; however, whenever I put it on my email in Gmail, it doesn't redirect但是,每当我将它放在 Gmail 中的 email 上时,它都不会重定向

<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>

try now.现在试试。 it need to be html verified.它需要经过 html 验证。 check every time in: https://validator.w3.org每次检查: 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>

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

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