html button to href code example Example: button with href onClick={() => {window.location.href="https://www.golfballs.com/"}}