Home | Site Navigation | Internal Page Navigation | No-Follow | Images
Styles | New Window | | Privacy | Purchase Book on HTML

Linking Within a Page

Linking to a specific place on a page may be desirable, especially when the page is very long and contains a large amount of information. This is quite easily accomplished using some basic html. First give the location where the link will be pointing a name:

1. <a href="http://www.indepthinfo.com/articles/reductio-ad-absurdum.shtml" name="footnote1">Reductio Ad Absurdum</a>

This allows the web author a great deal of flexibility in constructing and designing a web page. Note that the anchor tag need not have an "href" attribute. It might just have a name.

Once the destination has been created, the link may be inserted. The html code to jump to our footnote might look something like this:

<sup><a href="#footnote1">1</a></sup>

The sup or "superscript" tag is only included for illustration purposes, unless superscript is desired for the link, this would not be necessary. For this illustration, the thing to note is the hash mark followed by the name of the tag to which the link should jump, "#footnote1".

This method may also be used to reach a specific spot on another page. To do this a tag would be named as illustrated in the first paragraph and would be referred to with code similar to the following:

<a href="http://www.howtomakealink.com/index.htm#otherattributes">Other Linking Attributes</a>

This link would take the visitor to the second-to-last paragraph on the index page of this site.

Normally you would want both humans and search engine bots to follow most of your links, but there are times you do not. We will explore what to do in this case when we discuss: The No-Follow Attribute.

Contact Us