Hyperlinks
Hyperlinks to other locations are indicated by the <A HREF> tags, which contain the address of the text, image or other referenced object. When the user clicks on the hyperlink, its content is then displayed, either by replacing the contents of the browser window or inside a frame in the main window. The referenced element can also be another part of the same document. Hyperlinks are generally displayed in a different color than ordinary text. In addition, when the pointer is on a hyperlink, its shape changes.
A hyperlink is defined as follows:
Click <A HREF="//www.mega.com/">here</A> to visit our site.
In this example, “here” is underlined to show that it is a link, but the way links are actually displayed depends on browser configuration.
The address appears inside quotation marks. These can be omitted if the address contains no spaces.
It is possible to create several addresses in the same document, to allow jumping to a specific point in a document.
The tag for defining an address is:
<A NAME="Complinfor">
A jump to this address would be indicated as follows:
For more information see <A HREF="Info.htm#Complinfor">Other Information</A>
It is also possible to indicate a relative path (../xxx.htm). (This is a normal slash and not the usual backslash.)
The name of the page can be omitted if the link refers to another point in the same document.
For example: HREF="#Complinfor".