Amazon Books
bullet Home
bullet Contact Us
bulletComputer Virus Alerts & News

Computers & Internet

HTML
bullet Main HTML Page
bullet HTML Bookstore
bullet HTML Message Board

HTML Tutorial
bullet What Is HTML?
bullet Basic Tags
bullet Text Formatting
bullet Images
bullet Hypertext Links
bullet Sound
More to come

Other
bulletC++
bulletComputer Science
bulletInternet Product & Services
bulletJava
bulletJavaScript
bulletLinux
bulletLotus Notes
bullet Technology News
bulletTechWeb Today

Perry Smith

Hypertext Links

Click here for a complete list of books about HTML

Links

There are internal, external, and relative links. Internal links allow navigation within the same page, external links allow you to travel to pages on a different server and relative links allow you to travel to pages on the same server.

Every hyperlink contains a Uniform Resource Locator (URL). A URL is the address of a Web page. The URL consists of the protocol and the destination. The protocal designates the type of resource to be accessed. Most often on the Web is http:// (HTML documents). Other protocols are gopher://, ftp://, and telnet://.

The destination can be a file name, directory name, or a computer name. The page you are now viewing is http://www.perryland.com/html4.html. http://indicates the type of Internet service being used. www.perryland.com indicates the domain name and /html4.html indicates the directory and file name on the server.


Internal Links

Internal links are used when you want to provide users with the ability to navigate between different sections of a page. You must first name the place in the document that you want to navigate to <A NAME= "target">desired text </A>. The link to the target is
<A HREF="#target">Link To Target </a>. I have used the word "target" here to designate the name of the target but any word could be used. "desired text" indicates the text in the document that you are jumping to. "Link To Target" is meant to indicate the text that will appear for the hypertext link that will be clicked on.


External Links

The code for an external link is simply <A HREF="URL">Link Text Here</A> so a link to IBM would be <A HREF="http://www.ibm.com">IBM</A> and it would look like this IBM.


Relative Links

When linking to a page that is on the same server as the target page, all that need be designated is the page name. For example, the link to the home page from the page you are now viewing uses the code <A HREF="index.html">Home</A>. This is assuming that both pages are in the same directory. If both pages were not in the same directory, the directory of the target page would have to be included in the code.


Contact Us Links

The code that creates an Contact Us hypertext link is
<A HREF="mailto:Contact Us address">Link Text</A>
so the link for my Contact Us address is
<A HREF="http://perryland.com/phpBB2/index.php" target="new"> Perry</A>
and it looks like this
Perry.

Impotency & Viagra although the thought about purchase viagra buy viagra drugsAustralia generic in levitra sales viagra best buy
Family pharmacy buy viagra no script.