Links in 10 minutes

To make a hypertext link, you surround the text you want to be linked with <A></A> tags. Inside the <A> tag place an HREF attribute whose value is the URL you want to link too. For example,

Make sure you get the 
<a href="http://www.ibiblio.org/javafaq/course/week5/exercises.html">
  exercises
</a> 
from the web site.

Most browsers will underline the linked text, and color it blue or purple, but this is a presentation decision left up to the browser. The browser also provides the user with a means to activate the link (normally by clicking on the linked text). When the user activates the link, the browsers attempts to load the page specified in the link. If the URL in the anchor is not an HTTP URL, then the browser will take whatever action is appropriate, perhaps saving a file for an ftp URL or launching an email program for a mailto URL.


Previous | Next | Top | Cafe au Lait

Copyright 1997-9, 2005 Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified July 1, 2005