<!doctype html>
<p id="message"></p>
<script>
document.querySelector("#message").textContent = location.hash;
</script>
<!doctype html>
<p id="message"></p>
<script>
document.querySelector("#message").textContent = location.hash;
</script>