Note: Read and write property. Specifies the hash part of URL (the part that follows a # sign). Syntax: document.getElementById("elementID").hash = value document.all.elementID.hash = value // IE only location.hash = value