How do I link to from one part of an HTML page to another?
This would be called using an HTML anchor tag and there are two parts to doing this.
-
Label your container with the “name” attribute, I’m going to call my section jump to, because I want to jump to it. :]
-
Add a plain ‘ol HTML link to your container, using the # symbol + the name you gave in step 1.
Now that you’ve created your first anchor tag, you can also link to your information from other pages like so.
<a href="http://iamchristinabot.com/#jumpto">
View your container through a link from another page, click here!
</a>
You can even get fancy by wrapping images with your a tags.