Making_Hyperlinks

Making a hyperlink on a page requires an  tag. Place the ... tag around the text you wish to show and use the "href" attribute to indicate where you want to link to. For example, to make a hyperlink that appears as "our class page" (typically blue and underlined) and links to this website, you would say: code format="html4strict" our class page code and it would show up on the page like: [|our class page]

URLS
In this case, the URL, "http://howehtml.wikispaces.com," is an **absolute URL**. There are two types of URLs you can use, absolute or relative.

Absolute URLs
An absolute URL is a web location that includes the name of the website itself. You can easily tell that it is an absolute URL because it should start with "http://" or "https://" or "ftp://" or something like that. This is the full URL that you see in the Location bar at the top of your web browser (even if you have followed a relative link. After the name of the website, you are likely to see a "/" and more information. This means that the computer should go to that website and look for the file or folder with that name. If it is a file, open that page or download that file, or.... If it is a folder, there might be another slash, which means that the computer should look in that folder for the information after the slash, or... If it is a folder and there is no following slash, the computer should look in that folder for a file called "index.html" to open.

If the computer can't find anything at the location, it will probably give a "404 Not found error," or some sort of message that there is no file at that URL. In systems that are not set up properly, it might give you a list of all the files in the folder, but this is widely considered a Bad Thing.//

// Relative URLs//
//A Relative URL is a path from the current page's location to another page. In English, these URLs might be things like:// In each case, the URL does not //start with a "http://" or "https://" or "ftp://" or the name of a website. It is simply a set of directions to get from one place in the file system to another.
 * URL || Meaning ||
 * otherpage.html || "start in the same folder as this page is. Look for a file called "otherpage.html." ||
 * sports/soccer.html || "start in the same folder as this page is. Look for a folder called "sports." Go into that folder and look around for a file called "soccer.html." ||
 * sports/winter/curling.html || "start in the same folder as this page is. Look for a folder called "sports." Go into that folder and look for another folder called "winter." Try to find a file in there called "curling.html." ||
 * ../painting.html || "start in the same folder as this page is. Jump out of this folder and into the folder that holds it. Look in that folder for the file "painting.html." ||
 * ../arts/drama.html || "start in the same folder as this page is. Jump out of this folder and into the folder that holds it. Look in that folder for another folder called "arts." Then go into that folder and look for a file called "drama.html" ||

In each case, the computer starts in the same folder that has the file with a relative URL in it. (This means that relative URLs don't work if you type them into the browser's Location bar. In fact, the Location bar will always show you the absolute URL of the new page when you load it.) Then you should find one of three instructions: These commands can appear in sequence, separated by "/" marks. As with absolute URLs, if the browser cannot find the file, it should give you a 404 error. If you end the URL with a foldername, the browser will automatically look for a file called "index.html" - but if it can't find one you should expect a 404 error.
 * URL command || Meaning ||
 * //filename.suffix// || try to find this file in the current folder and load it. ||
 * //foldername// || look in the current folder for the named folder. If you find it, jump into that folder and make it be the current one. ||
 * ../ || jump up and out of the current folder into the folder that holds the current one. Make this outer folder be the current one now. ||