Https://learn.freecodecamp.org/responsive-web-design/basic-html-and-html5/link-to-internal-sections-of-a-page-with-anchor-element

If an anchor element is moved to the bottom of a web page, does it contain the footer tag or not. I will like the answer to be given from an absolute beginner’s perspective.

no, the footer tag is a specific tag called footer

<footer></footer>

the anchor tag can be used to bring the user to the footer when clicked, but you need to specifically create the link between an anchor tag and a footer tag, they don’t exist originally