History API

Example navigating browser history.

Preview

Code

<button onclick="history.back()">Go Back</button>
<button onclick="history.forward()">Go Forward</button>

More HTML Web APIs Examples (5)