Making links to other pages
Links to specific parts of pages
Using the anchor name tag you can link not just to the beginning of a certain page, but to a specific portion of that page. First, on the page where you wich to link, place the "a name=" XXXXX " tag. The "XXXXX" used here can be any string of characters. Use that same string within the link, beginning with a pound sign at the end of the link, as in this example which takes you to a point lower in this document.Relative versus absolute links
When you link to another page it can either be an absolute link or a relative link.An absolute link shows the complete path to the file, as in
"http://www.mydomain.com/SLA/CE_course/welcome.html"
However, when linking to your own pages it is best to use relative links, which will simplify any changes you may make later, should your domain name change.
The folder structure of these files is shown at right. If we link from this file, "links.html" to another file within the same folder or directory, such as"tables.html,"the relative link to that file would simply be the filename, as in this link.
If we link to a file in a folder below this level, such as the "sampleimage3b.jpg" file, which is in the "images" folder, the link would be: "images/sampleimage3b.jpg," as in this link.
To link to a file in a folder or directory above this file, use the notation "../" to denote backing up one level. If going up two levels use "../../". So to link from "links.html" to "SLA_sked.html" the link would look like this.
Beware of case-sensitivity
Although you may develop much of your intranet project in an environment which is not case sensitive, be aware that one of the most common webserver operating systems, Unix, is sensitive to case. Your files may link just fine right now, but if you ever migrate to a Unix-based system "image.GIF" will not be the same thing as "image.gif" and any link which is wrong by a single upper-case letter will fail.