Answers for "how to create a button and link it to another website"

1

how to add button to open a website using html

<button onclick="window.open('http://www.example.com')">
</button>
Posted by: Guest on February-24-2021
0

how to link a button to another page in css

<button onclick="window.location.href='/page2'">Continue</button>
Posted by: Guest on April-28-2021

Code answers related to "how to create a button and link it to another website"

Browse Popular Code Answers by Language