In the
beginning, it was the hyper link that distinguished the web from other
methods of information display on the Internet. A hyper link or link for
short is a tag that enables the browser to show a path to another web
page or Internet resource. These links can be placed anywhere on the page,
and can be any number of characters in length.
There are
two pieces of information that go into a link. First, there are the words
that appear on the web page. A person following the link will click on
these words. I will call these words the "click-able words".
The second
piece of information is the path to the target web page. This can be a
file name, if the file is on the same server, in the same folder as the
web page you are reading. It can also be a hypertext transfer protocol
(http) link to a completely different web site.
The HTML
code is initialized with an anchor, represented by the letter "a".
This is followed by href, short for hypertext reference.
This is followed by the click-able words. The ending of the anchor is indicated
by </a>. You can shorten or lengthen the number of words in the
link by moving the end of the anchor. The example below links to a file
in the same folder as the page you are currently reading. In this case,
you only need to indicate the file name after the href.
|