use button as hyperlink html code example Example: html button with link <a href="https://www.google.com"> <button>Go to Google</button> </a>