There are several ways of creating an HTML button, that acts like a link (i.e., clicking on it the user is redirected to the specified URL). A This might not work if the button is inside a
element.Since there is no form and no data is submitted, this may be semantically incorrect. Inside a
The downsides of using this approach are the same as above with an addition that it's HTML5-specific so support for old browsers might be poor. The