The issue is in the added style for the anchor on the top of the result:
style="padding-top: 100px; margin-top: -100px;"
That causes it to have a 100px padding and pushes it up the page. It then overlaps the anchor from above.
Just remove that code and it should function properly. The problem is overlapping elements, not missing tags.