You may form links to other web pages, or to other sections within the same page.
The "Anchor" tag < A > is used, so that a link is "anchored" to another place in the web.
Links to pages within your directory: simply refer to file relative to the
web page that contains the link.
- I can link to a sample page within the same folder;
- Or I can link to the Meto-Grads Page one level up in the directory.
- Going down in the directory is similar: ie href="folder/file.html"
Links to websites outside your directory: Use the complete URL of the site; don't forget to use "http://.."!
Here's a link to Brian's webpage:
Links within a Web Page: This is a little more complicated because you need to
first create anchors within the page to tell the links where to go. I've created an anchor named
"jump" below, and then refer to it by "page#anchor". Let's see how it works.
Let's JUMP down the page!
So here we are, we've made the JUMP!
We can also jump to sections in other pages, so long as they have anchors.
Let's jump to the Food on campus section of the survival guide.