html make button open in current page code example
Example: html button with href
<form method="get" action="/page2">
<button type="submit">Continue</button>
</form>
<form method="get" action="/page2">
<button type="submit">Continue</button>
</form>