sometimes more is less

How to jump/go to the bottom of a page using pure HTML

Knowledge Base on October 2nd, 2009 No Comments

Did you ever wanted to jump to the bottom of a page by just clicking on a link at the top or somewhere in the middle of the page? Well, here is your answer. No fancy javascripts, just pure HTML.

The first step is to create an anchor just before the body tag:

</body>

The anchor can be something something simple like:

<a name="ToTheFooter"></a>

The next and final step is to link to that anchor wherever on your page you need, eg.:

<a href="#ToTheFooter">Go to the bottom of the page</a>

You can see it in action here: Jump to the bottom of this page…

No Responses to “How to jump/go to the bottom of a page using pure HTML”

Leave a Reply

We stop spam together!

RSS Feed
on facebook
@twitter
footer