How to Link to an Anchor Tag in Another Web Page

Linking from one page to the middle of another web page adds a lot of functionality to your website. It just makes finding what you need easier, and it can be less confusing for visitors.

Instructions

  1. How to link to an anchor tag in another web page

    • 1

      Open the page you want to link to in your web browser.

    • 2

      Right click anywhere on the page, then select "View Source" on the gray pop-up menu. This will open up the web page in notepad so you can view the HTML code.

    • 3

      Scroll through the page until you find the anchor tag in the page you want to link to.

    • 4

      Copy the name of the anchor tag by selecting it with your mouse.

    • 5

      Open your web page (the one you are linking from) and insert the hyperlink for the other web page (the one you want to link to).

    • 6

      Type #, then right click and select "paste", to paste the anchor name onto the very end of the link, like this <A href="http://www.the-site-you-are-linking-to/the-page-you-are-linking-to#the-anchor-tag">your link text</a>.

Tips & Warnings

  • NOTE: If you have Firefox, you can select a web page title and then view this code without scrolling through all that HTML. Left click and roll the mouse over the section or title you wanted to link to, and then right click and select "View Selection Source". The code for the area you highlighted appears, and so will your anchor tag.

  • Do not forget the "#" and always copy your anchor tag using your copy function, otherwise you may get the name wrong. Check anchor links frequently because they will change.

Related Searches:

Resources

Comments

  • prlgibson Mar 14, 2009
    Thank you for posting this example.
  • prlgibson Mar 14, 2009
    Thank you for posting this example.
  • laye Nov 16, 2008
    thank you very much...this page really help me in my assignment....

You May Also Like

Related Ads

Featured