Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap

Q2024 How do I add a link to another site, or another document?

You are here: irt.org | FAQ | HTML | Q2024 [ previous next ]

Say you want to add a link to the Yahoo web site:

<a href="http://www.yahoo.com"> Click here for yahoo</a>

The text in-between the tags can be anything you want. It is this text which will appear highlighted when you use the arrow keys to select the link. If your web page is not working, check that you have matched all of the quotes and <>'s.

Links can be to a site, or to a specific page on a site:

<a href="http://wings.buffalo.edu">U of Buffalo</a>

contains the URL of a site, whereas:

<a href="http://www.w3.org/hypertext/DataSources/WWW/Servers.html">Index</a>

connects you to a specific document within the file system at www.w3.org.

If you want to add a link to to another page of your own web site, simply use:

<a href="mydocument.html">Some Text</a>

In this example mydocument.html is simply another HTML document that you create in your workspace, just as you created index.html. You can create as many html documents as you want in your work directory (within your alloted disk quota).

©2018 Martin Webb