Linking to other pages


You have learnt how to change font color and size. You are no longer a novice in HTML.
Now I am going to tell you something even more advanced. That is how to link to other pages.
Confused? No need.
To link to other sites i.e to create a clickable hyperlink, you have to do the following:
Type this:
<A HREF="http://www.nameofthesite.com">nameofthesite.com</A>
You can change the "nameofthesite.com" to any site such as discovery.com etc.
You should note that when you type the name of a site in a search box
of a search engine or in the big pull down menu, you don't generally type
http://www.discovery.com. You just type discovery or discovery.com.
But in HTML you must type in "http://www." and ".com". The name of the site is coming between the two.
I am going to take the example of discovery.com. It will be like this:
discovery.com
As you can see, when you click on the above link you are transported
to the homepage of discovery.com.

Change link color


Now suppose you want to change the color of an active link i.e a link which has just been clicked, what will you do? No need to worry.
Just do the following:
In your BODY tag, write the following:
LINK COLOR="colour of your choice" alink="color of your choice"
Then give the > sign. Not sure what a BODY tag is? Click here.
Like this:
<BODY LINK COLOR="blue" alink="blue">

Now suppose you don't want your links to change color on your page to the default red or purple when you click it.
Do this:
<BODY LINK COLOR="blue" alink="blue" vlink="blue">
Go ahead and click the discovery.com link above this subtopic.
You will see that the color of the link doesn't change when you click it
and remains blue.

Removing the nagging dash from under your links


To know how to remove the nagging dash from underneath your links, you will first have to know what text decoration in HTML is.
The various decorations on your text(like the underline, italics etc.).
To remove the dash from underneath you links:
<A HREF="http://www.discovery.com" style="text-decoration:none">discovery.com</A>
Now see the difference:
discovery.com
Next--->

Send feedback