Edit This Code:
<!DOCTYPE html>
<html>
<body>

<button onclick="window.location.replace('http://www.w3schools.com')">
Replace document</button>

</body>
</html>


Result:
Try it Yourself - © w3schools.com
Privacy Policy