Training




Adding Links


So far, we have learned how an HTML page is laid out, what a title is, and that the majority of the work is performed within the BODY of the document. We also have learned how to do basic headings, text, and even to add fonts, sizes and colors. All pretty cool, but you could have done most of that with a word processor. So what's the big deal about HTML? Remember we discussed Hyperlinks ?

The difference between plain old ASCII text, and HTML, is that HTML has the ability to allow you to "chain" web pages together by using LINKs . Simply by clicking on a LINK , you can be sent to other places on the internet.

You probably got to my page by clicking on a link to begin with. Normally, a link is designated by having a line underneath of it, or by being a different color from the rest of the text. You may also notice that if you simply point your curser at a link, it will change, or depending on your browser, the address of the link may appear somewhere on the screen.

The question is, how can YOU create a link on a Web page? The answer is: create an ANCHOR

We do this using the following TAG:
<A HREF="http://www.address.net"> http://www.address.net "</A>

Which results in the following: http://www.address.net

Let me describe this command a little bit. A establishes the fact that we are creating an anchor.... a place to go out on the web. HREF tells the browser that it is referencing a standard Hypertext URL
(Internet address). This address can be an HTTP, FTP, or MAILTO address. It could just as easily be a PDF file, Excel, MSWord, or other such document located on the web.

In the example given, we went to "http://www.address.net"

Just the same, we could have gone to the address "mailto:bgates@microsoft.com"

Try this - click on the following link: Click Here to Email Bill Gates


By clicking on that link, it should have brought up your email program.... with my email address in the "SEND TO:" column. This was accomplished by the following tag:
<A HREF="MAILTO:bgates@microsoft.com"> Click Here to Email Bill Gates </A>

Simple enough? Now for some pictures!
On The Following Indicator...
( GREEN will indicate your current location)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24

[ COURSE INDEX ] [ HTML GLOSSARY ] [ HOME ]


Otherwise - please click to visit an advertiser so they know you saw their ad!



This Course was written by Ray Dall © All Rights Reserved.
This page and all its content Copyright, Trademarks, Intellectual Properties
and other legal issues 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Ray Dall.
All Rights Reserved.
And for what it's worth... this page was last updated HexDate 01-11--7D1

VISITORS:
Add Me!