hypergurl logo

Creating web page anchors.
HTML script for creating anchors, on the same page or to another page of your web site.

Google
Web www.hypergurl.com

Handy Tip: Page anchors allow your visitors to jump directly to the part of the webpage that interests them without having to scroll for 20 minutes to find it!

Bookmark This Page | Click here for more Html Scripts

 

HTML Script for Creating Anchors ....

Example
Jump to Bottom

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 use page anchors if you want a graphic or text to link half way down another page. That way your visitor doesn't have read all through the page to get to the bit their interested in.

To create a link that points to another place on the same webpage, you need to create two anchors:

1. an anchor in the spot that you are going to jump from
this anchor will have the syntax:
<a href="#anyword">Jump to anyword</a>

2. a named anchor in the spot that you are going to jump to
this anchor will have the syntax:
<a name="anyword">TEXT</a>

For example, if I wanted to allow folks jump from the words "Jump to Bottom" to the bottom of the page I need to create 2 anchors.

I need to place an anchor that says "Jump to Bottom" that points to the bottom of the page.
The syntax is:
<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>


The script below creates a link that points to another place on a different webpage, you need to create two anchors:

1. Create anchor on Page A pointing to "here" on page B
<a href="PageB.html#Here">Go to Here on Page B</a>


2. Place a named anchor on PageB.html
<a name="here">Here</a>



 

Hypergurl Hosting
IMPROVED PLANS
FREE Domain Name
web hosting and domain registration

 
Hosting Log In
Username:
Password: Sign up

NEW!

Blog for Webmasters

web site design feed Website Design



 
Refer A Friend
Your Email
Your Name
Friends Email
Friends Name


 


Home
Site Map
Email Hypergurl
About
Link To Hypergurl


Site design copyright 2001-2008 © hypergurl.com

 


You're at the bottom!