Im maintaining a site with the link fragment below. There isnt an element with an ID of top on the page however clicking it still takes you to the top of the page. Is this because the default behavior of any link fragment is to take you to the top of the page?
There is also a weird bug with it on android. It appears multiple times and works the first time but the second time you click it does nothing.
<a href="#top">Top</a>
Yes, all undefined anchors take you back to the top of the page.