Return to Snippet

Revision: 50583
at August 27, 2011 01:20 by kennonb


Initial Code
<div id="top">Some text.</div>

<a href="#top">Go to top of page</a>

Initial URL


Initial Description
- Basically, place the div at the top of the page (or wherever you want the link to jump to).
- Then place the link somewhere on the page.
- This will cause the scroll to shift to the top of the div container with that ID attribute.

Initial Title
Hash Anchor Links

Initial Tags
links

Initial Language
HTML