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