Suite101

Part 7 - More Linking


© Tracy Ryan

The last article covered the basics of hyperlinks. This involved creating links to other pages within your own website, and also links to other websites that may be of interest to your readers.

Now we're going to look at the other types of links we can create. Not only can you link to other websites or other pages in your own website, but you can link to sections of the same page, and you can create email links as well.

Firstly we'll look at how to create internal links.

If you have a great deal of information on the one page, you might like to link between different sections on that same page. To do this, you use internal links. The first thing you need to do when setting up these types of links is to create an "anchor". Remember we mentioned anchors in the last article? Here is where we actually use them!

The anchor is a piece of "behind the scenes" html code that is placed on the page where you wish the link to lead to. It's not actually visible on the page.

The HTML you would use to place an anchor is...

Anchor Text

The "Anchor Text" can be a sub heading on your page, it could be just the first word of a new paragraph, or even any word or sentence at all on the page that you might wish to create a link to.

Now the anchor has been placed, you will wish to link to it.

All you need to do is to create a link in the regular way, with one exception. Instead of a URL in the link code, you place the anchor name, with a hash (#) before it. I'm sure this sounds complicated, but it's not.

It would look like this:

Link Text

Of course you can also use image links, as described in the last article (Part 6), in which case it would look like this:

(Refer to article 6 for more information about image links)

Now, you might well be asking where you would use anchor links such as these.

Well, basically you'd use them anywhere that you have multiple sections on the one page. An example might be something like an FAQ (Frequently Asked Questions) list. You've probably seen sites that have these where they list the questions at the top of the page, and then the answers in order underneath. Clicking on a question will take you to the part of the page that has the relevant answer.

Go To Page: 1 2


The copyright of the article Part 7 - More Linking in Website Creation is owned by Tracy Ryan. Permission to republish Part 7 - More Linking in print or online must be granted by the author in writing.

Post this Article to facebook Add this Article to del.icio.us! Digg this Article furl this Article Add this Article to Reddit Add this Article to Technorati Add this Article to Newsvine Add this Article to Windows Live Add this Article to Yahoo Add this Article to StumbleUpon Add this Article to BlinkLists Add this Article to Spurl Add this Article to Google Add this Article to Ask Add this Article to Squidoo


Here's the follow-up discussion on this article: View all related messages

7.   Jul 16, 2003 5:30 PM
In response to message posted by humorous_sage:

Gosh, I hope not! Especially now that I'm supposed to be editing these a ...


-- posted by hulagrrl


6.   Jul 5, 2003 10:04 AM
Is this site dead or dying? It shows so much promise that I hate to see it die on the vine. Or do inactive sites still live in never-never land ...

-- posted by humorous_sage


5.   Dec 17, 2001 5:52 PM
Well, Tracy, I have just printed off the last article. I cannot wait to get more educated by a person who seems to know how to deliver this in a SIMPLE way. Yes, simple is always best! By the way, ...

-- posted by beekay


4.   Nov 1, 2001 8:19 PM
In response to message posted by ChrisyWynThomas:

Hi

My apologies for my extended absense from the topic here. A few ...


-- posted by allyrah


3.   Oct 25, 2001 8:45 AM
I hope all is well, Tracy, and I am looking forward to your next article. This is just to say really that after persevering with your excellent material so far, I have at last got it!!! Thank you for ...

-- posted by ChrisyWynThomas





For a complete listing of article comments, questions, and other discussions related to Tracy Ryan's Website Creation topic, please visit the Discussions page.