WWW Authoring Day 2 Day 2 Exercise 5


Hyperlinks are one of the primary features of the World Wide Web interface. In this exercise, you'll learn how to set up links to specific URL's within your HTML code.

Part 5.1: Make the list of URL's in mylinks.htm into links.

Turn each item in c:\mylinks.htm into a link.
  1. Open (or return to) the c:\mylinks.htm file in Notepad.
  2. For each item, before the name of each site (but after the P tag), insert <A HREF="url">
    where url is the URL from the definition for that item.
  3. After the text of each site name, insert </A> to close the hypertext anchor.
    Your finished items should look like this:
    <P><A HREF="http://www.yahoo.com">Yahoo </A>
  4. Save the file.
  5. Open the file in Netscape using the "Open File in Browser" from the File menu (or clicking reload if the page is already up).
  6. Try out the hotlinks.

Part 5.2: Create a link from the new page to your home page.

  1. At the bottom of the page, after the list, insert a paragraph tag, and a link to your home page:
    <A HREF="url">Back to My Home Page </A>
  2. Reload the file in Netscape.
End of Exercise.

 Previous  Top  Next
JAH, 13 Sept 1996.