Named Anchors In HTML – For Internal Linking

Advertisement:

Often times we spend a lot of time and end up preparing a lengthy document thinking it will be helpful, but as a matter of fact people can’t scroll up and down to find what they are looking for – instead they will goto Google and search for some other sites.

In this situation “Named Anchors” are very helpful. This simple technique will make your miles long document more usable.

<html>
<head><title>My Software Manual</title>
</head>
<body>
<i>Index</i>
<a href="#microsoft">Windows 7 Manual</a>
<a href="#apple">Macintosh OS X Manual</a>
<a href="#unix">Unix/Linux Manual</a>
<i>Content</i>
1. <a name="microsoft">Windows 7</a>:
Here you may write about the system requirement
for your software to work on Windows 7.
And the amount of resources that your application
is going to consume. Some tips and tricks.
Imagine its about 50 lines.
2. <a name="apple">Macintosh OS X</a>:
Imagine there is about 500 lines of documentation
about using your application on a Apple Macintosh.
3. <a name="unix">Unix/Linux</a>:
Imagine there is about 1000 lines of documentation
about using your application on a Apple Macintosh.
</body>
</html>

<html>
<head><title>My Software Manual</title>
</head>
<body>
<i>Index</i>
<a href="#microsoft">Windows 7 Manual</a>
<a href="#apple">Macintosh OS X Manual</a>
<a href="#unix">Unix/Linux Manual</a>
<i>Content</i>
1. <a name="microsoft">Windows 7</a>:
Here you may write about the system requirement
for your software to work on Windows 7.
And the amount of resources that your application
is going to consume. Some tips and tricks.
Imagine its about 50 lines.
2. <a name="apple">Macintosh OS X</a>:
Imagine there is about 500 lines of documentation
about using your application on a Apple Macintosh.
3. <a name="unix">Unix/Linux</a>:
Imagine there is about 1000 lines of documentation
about using your application on a Apple Macintosh.
</body>
</html>

When people click on Windows 7 Manual link in the index section, it takes them directly to the 1. Windows 7 paragraph(in the content section) without even reloading the page – as all the information present in that page has already been loaded.