<form> <input type="button" value="BACK" onclick="history.go(-1)"> <input type="button" value="FORWARD" onclick="history.go(1)"> </form>