A good answer might be:


URLs in Anchor Tags

To link from a web page to a web page on a distant computer, use the full URL in the anchor tag. Examples:

<a href="http://www.yahoo.com"> Yahoo Home Page </a>

<a href="http://java.sun.com/docs/books/tutorial/"> The Sun Java Tutorial. </a>

<a href="http://chortle.ccsu.ctstateu.edu/CS151/Notes/AppendixA/htmlPart2_15.html>
    A familiar web page</a>

The text following href= is the URL of the page you wish to link to. The text between the two tags will appear colored in the browser like this: Yahoo Home Page . When users click on the link, the browser will go to the new location.

Play with the following web page to see how its hyperlinks work.

Useful Java Links

Add a few of your own favorite sites, then click to see what the HTML does.


Add the following links to the list of useful Java resources: