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.

  1. Label your container with the “name” attribute, I’m going to call my section jump to, because I want to jump to it. :]

    Jump to this line of text.

  2. Add a plain ‘ol HTML link to your container, using the # symbol + the name you gave in step 1.

    Click here to jump to your anchor.

Now that you’ve created your first anchor tag, you can also link to your information from other pages like so.

<a href="">
     View your container through a link from another page, click here!

You can even get fancy by wrapping images with your a tags.

Back to Blog

Say Hello

You can reach me by email, I'd love to hear from you.