<!DOCTYPE html>
<html>
<body>
<h1>The Window Object</h1>
<h2>The parent Property</h2>
<p>Parent location:</p>
<p id="demo"></p>
<script>
document.getElementById("demo").innerHTML = window.parent.location;
</script>
</body>
</html>