location.hash
location.hash is a property in JavaScript that is used to get or set the anchor part of the URL. It can be used to get or set the anchor part of the URL. This topic also provides location.hash related content for everyone to download and use.