This page looks plain and unstyled because you're using a non-standard compliant browser. To see it in its best form, please upgrade to a browser that supports web standard_personals. It's free and painless.

Build A Website Blog

Internal Hyperlinks

Dave | 26 January, 2005 16:15

Here's a useful piece of html code that you can use on your site to send visitors to specific points in an html page - the internal hyperlink.

This type of link is often used in order or F.A.Q. (Frequently Asked Question) pages where clicking on an question takes you to the answer further down the page.

The url itself will look something like this:

<a href="This">http://www.yoursite.com/index.html#ans1">This is question 1</a>


or

<a href="#ans1"> This is question 1</a>

The important part that makes the internal link work is #ans1.

At the point on the page you want your visitor to jump to just add the code:

<a name="ans1">Q1 Answer</a> starts here.

You can see the code in action on our other site http://www.baport.com.

Clicking on the order button for the Mini or Super plans takes you to a page where you start about one third of the way down, clicking on the Starter plan link just takes you to the top of the order page.

This was done so people could see all the order options and still read the terms and conditions near the top of the page.

In the above example the url is http://www.baport.com/order.html#mini and there is an invisible anchor embedded in the page order.html.

Comments for post

 
Build A Website | Javascript | HTML Help | Persuasive Copywriting | HTML Form | Simple eMail Form | Build A Website Map