An anchor link is a link on a page that brings you to a specific place on that page. Anchor links can be helpful when you want to bring a website visitor to a specific spot on a page. Try it out…
Click here! This is an anchor link to the bottom of the page.
Adding anchor links to a page is very simple.
1. Start by writing out your copy and putting it on your website, either as a new page or on an existing page.
2. Determine where on the page you want the link (the anchor link) and where you want it to go (the anchor destination).
3. Next you will need to add HTML code, using the <a> tag to create the link and to create the destination.
- The anchor link will use this format: <a href=“#anchor1” >Anchor Link Text</a>
- The anchor destination will use this format: <a name=“anchor1”>Anchor Destination Text</a>
4. Be sure that the “a href” and “a name” are identical except for a “#” symbol with “a href”
5. You’re done.
One last comment about anchor links. Use them sparingly. As this blog post shows, if you overuse them, or have the links jump all over the page like we did here, it can be a real turnoff to a visitor. Used with care, they can be a great navigational tool for your website.