Site hosted by Angelfire.com: Build your free website today!
 
Back Index Next
 
 

Learning to Code- 

Linking to other pages on the World Wide Web

This is the easiest link to create. You need to know 2 things: 
a) the address of the page you want to link to 
b) how to tell the computer to go there! 

We'll start with telling the computer what to do, cause that's so fun! 
Here's the HTML command 

<a href=" ">               </a> 

and here's an example of how you use it: 

<a href="http://www.yahoo.com/"> Go to Yahoo! </a> 

href stands for Hypertext Reference. This tells the computer that it is going to create a hyperlink to the address that follows.  

" "   the URL of the site you wish to link to goes inside the quotatation marks. 

Go to Yahoo!   - anything you put between the html tags becomes the link that the user 'clicks on' in order to go to the page. 

Here's how it looks on the page 

Go to Yahoo!

 
 
Back Index Next