'How can i make this button work, it's not redirecting now
i've been editing a html website and want to add the a href tag to a button. Codewise everything seems well but the button doesn't do anything. Here the code:
a class="scroll btn btn-gradient btn-rounded btn-large" href="https://google.com" target="_blank">Visit google
Please help :(
Solution 1:[1]
<a href="https://google.com" target="_blank" class="scroll btn btn-gradient btn-rounded btn-large">Visit google</a>
It looks like you forgot to close off the anchor tag.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Michael |
