html – Why does an anchor tag in href point to the root domain?

I have a URL on a page on which I am

In this page, there is a button that refers to a valid identifier on the page. that's how it makes

Click me

When I click on (or hover over) the link, it brings me to the root URL.

instead of the expected

There is nothing about these buttons and there is no basic tag in the HTML code.