|Creating HTML anchors for web pages is easy. You can implement a HTML script for creating anchors on the same page, or to another page of your web site. This tutorial shows you how to create a HTML anchor link.|
Code for creating a HTML anchor
To begin with, here is an example of a HTML anchor: Jump to Bottom
As you can see, HTML page anchors allow visitors to jump to a specific place in the current webpage, or to jump to a specific place on another web page.
You usually implement HTML anchors if you want a graphic or text to link half way down another page. That way your visitor isn't required to read all through the page to get to the part their interested in.
<a href="#anyword">Jump to any place</a>
<a name="anyword">Jump to this place</a>
<a href="#bottom">Jump to Bottom</a>
I also need to create a named anchor at the bottom of the page. The syntax is:
<a name="bottom">You're at the bottom!</a>
You're at the bottom!