Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

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

irt.org | Knowledge Base | HTML | Q2024 [ previous next ]

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

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).


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.