I am playing with the Buttons in the w3schools Tryit editor, and I am trying to figure out how to make my browser redirect to an URL when I click on the \"Cancel\" button.
There is no button type="cancel" in html. You can try like this
button type="cancel"
Cancel
You can make it look like a button by using CSS style properties.