Answers for "button type lnik html"

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
1

href in button

<input type="button" onclick="location.href='https://google.com';" value="Go to Google" />
Posted by: Guest on December-27-2020

Browse Popular Code Answers by Language