Edit the code and Run to see changes

						<html>
<head>
<title>GeeksforGeeks back() example</title>
</head>
<body>
<b>Press the back button</b>
<input type="button" value="Back" onclick="previousPage()">
<script>
function previousPage() {
	window.history.back();
}
</script>
</body>
</html>