Can i add a bookmark to the end of a node route?

I have been tagging bookmarks to named divs for many years

So something like mypage.php#bookmarks1 will scroll to a DIV with ID bookmark1

So now to node
I have a route say /mypage
If i add #bookmark1 to this i.e.
mypage#bookmark1 the page does not scroll to the named DIV

Is this due to how routing works, wrong technique or me just being daft
Thanks

Community Page
Last updated: