Anchor Links

<a name="Menu"></a>



Menu
<a href="http://htmlcopyandpaste.blogspot.com/2009/07/anchor-links.html#Instructions">Instructions</a>
Instructions

Anchor Links

Anchor Links are used to jump to a section of a page when a link is clicked

First CodeSecond Code
The first code is the link that is clicked on to take you to another area.
<a href="http://www.PageURL.html#AnyName">Link Name</a>

First Anchor Code is the link




And the second code you place before the section you want the link to jump to

<a name="AnyName"></a>

Second Anchor Code goes in front of the section linking to


<a name="Instructions"></a>


Instructions


Anchor Links are used to jump to a section of a page when a link is clicked

Anchor Links take (2 Codes)

The first code is the link that is clicked on
<a href="http://www.PageURL.html#AnyName">Link Name</a>

And the second code you place before the section you want the link to jump to
<a name="AnyName"></a>

**Change AnyName in both codes to whatever you want, except don't use a space in the name,
and both need to be the same name**

Example: Say you want the link to take the person clicking on it to a Return Policy section, then you could change Anyname to 'ReturnPolicy' in both codes.
Then you would want to change the 'Link Name' to say, Return Policy or something similar. And you change the PageURL to the url of the page jumping to if not on the same page.

If its on the same page, you do not need to put the url, use href="#ReturnPolicy"

You can also use anchor links to go back to the top of the page or menu "Back To Menu' to jump back to the top of the page to the Menu.
<a href="http://htmlcopyandpaste.blogspot.com/2009/07/anchor-links.html#Menu">Menu</a>

Back to Menu


No comments:

Post a Comment

Leave A Comment