Answers for "open link on button click html location.href"

1

html button click url

# Wrap whole button in a 'a' tag.
 <a href="https://google.com" class="button"><button class="pixel">Button text</button></a>
Posted by: Guest on October-25-2020

Code answers related to "open link on button click html location.href"

Browse Popular Code Answers by Language