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 text of the DT (but after the DT tag), insert <A HREF="url">
    where url is the URL from the definition for that item.
  3. After the text of each DT item, insert </A> to close the hypertext anchor.
    Your finished items should look like this:
    <DT><A HREF="http://www.yahoo.com">Yahoo </A> <DD>http://www.yahoo.com <DD>A browseable index of the World Wide Web.
  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>
End of Exercise.

 Agenda  Next  Prior
JAH, 13 Sept 1996.