toggle button to open another page html code example
Example: how to go to index page on clicking a button in html
<input type=button onClick="parent.location='index.html'" value='click here'>
<input type=button onClick="parent.location='index.html'" value='click here'>