Source Code: (back to article)
<!DOCTYPE html>
<html>
<head>
<title>Title of the document</title>
</head>
<body>
<p id="href"></p>
<script>
document.getElementById("href").innerHTML =
"The full URL of this page is:<br>" + window.location.href;
</script>
</body>
</html>