Working with links

Links are what makes web pages work.  Also referred to as a URL (Uniform Resource Locator) are actually locations to web pages on the Internet.  There are many types of URLs, but we will focus on just a few to make our basic web pages work.

If you are referencing a page that is within the same directory, you do not need to include the entire URL.  You can just include the page name. 

To enter a link, the syntax is as follows:

<a href="url">displayed text</a>

Let's try one for real.  The following link will take you back to the previous page in this lecture.  After you click it, make sure to come back and finish this page.

<a href="page13.htm">Click here for the previous page</a>
Will produce:
Click here for the previous page

In class we will demonstrate the use of anchors and creating links within the same page, we will also discuss creating links to e-mail and creating links that will pop-up a new web browser.