Insert Back button on a webpage

To insert a ‘Back’ button on a webpage

Copy and paste the following code where you want the button to be located.Replace ‘[ ]’ with requested information.

<form>
<input type="button" value="**[text you want on button]**" onclick="history. Back()">
</form>

Last updated