No worries, the โhash tagโ is suitable for use, has been part of the standard for a decade and does not affect GET. An anchor tag <a> used for this purpose.
You can use it to create โjump linksโ to go to different parts of the document (bindings, as is done on the pages of the HTML specification document themselves), or as a โhash bandโ in combination with javascript.
What you should NOT do is use the <a> tag only to get the pointer pointer for no reason. However, if a thing does something when you click it (usually why you hover over something), either by changing the hash, link to a new document, or by launching the javascript function, there is no reason not to use the anchor tag and this is not a bad practice.
When you see an anchor with "#" only as href , this usually indicates that the developer intends to apply a javascript listener to the element. An empty anchor acts as a do-nothing backup if the client does not have javascript available. In this case, the user clicks on the link and nothing happens. If you use progressive boosting principles, then instead you can use the equivalent URI without JavaScript instead.
Documentation
source share