html button onclick
Just add the "onClick" attribute inside the tag, followed by javascript syntax and the link address of a page or sites. The button onclick runs a script when the user clicks a button. Although this tag is often nested inside a element, this is not a requirement. Click me