The address of the referenced document can be specified by an absolute or partial URL:
<A HREF="URL"> anchor </A>Where URL (Uniform Resource Locator) is the URL of the document to be accessed. For example HREF can use http: to access other HTML documents, images, etc. or it can use ftp: or gopher:. It can even indicate a telnet: connection or a mailto: option to send email.
"Partial" URLs are also possible when accessing any server, but are particularly common within document collections on http servers. These are convenient for referencing documents that come from the same server as the current document -- that is, the one currently being viewed. In this case you need only specify the location of the document relative to the current one.
<A NAME="proj1">Project 1</A>From within this document we can create a hypertext link to this place by specifying the anchor:
<A HREF="#proj1">(see Project 1)</A>If we wanted to reference this place from another document in the same directory we would put
<A HREF="doc.htm#proj1">(see Project 1)</A>and so on.
<A HREF="http://www.foo.com/cgi-bin/phone">