button on click open a link code example
Example: 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>
# Wrap whole button in a 'a' tag.
<a href="https://google.com" class="button"><button class="pixel">Button text</button></a>