top left
The HTML Source Logo


 html
Top Right
    
 Getting StartedHow Do I...TroubleShootingPromotionContact Us
 html
HTML
SEARCH THE SITE
advanced search



CATEGORIES
Home
Getting Started
HTML Cheat Sheet
Webmaster Tools
HTML Help Forum
Color Codes
Link to us









































bottom
HTML HTML HTML HTML
Lesson 3
My First WebPage


Welcome to Lesson 3, in this lesson we will learn how to make hyperlink's.


Now lets get started.

First you're going to need something to write the HTML in. In Lesson 1 we learned how to do this, if your unsure about what you should write your HTML in, you should go back to Lesson 1.

By now you should have Notpad or whatever program your going to write your HTML in open, right? Good...

In Lesson 2 we learned about tags. We learned how to use the < and the > with different commands within them to make our text appear differently.

Hyperlink's work in much the same way. First, we start of with a Link tag:

<A HREF="?">

This is the part of the tag where we tell the code where we want the link to go. So, for example, we want to link to http://www.yahoo.com. To do this, we just replace the ? with the http://www.yahoo.com address, like this:

<A HREF="http://www.yahoo.com">

O.K. we got the link part, now we need something for our visitors to click on, to be able to go to the link, in this example will use the words " Click Here To Go To Yahoo.com". We place this right after our link tag, like this:

<A HREF="http://www.yahoo.com">Click Here To Go To Yahoo.com

And we finish it all off with an ending </a> tag. So our code ends up looking like this:

<A HREF="http://www.yahoo.com">Click Here To Go To Yahoo.com</a>

Congratulations you just made your first link to Yahoo.com. Now you can link to any web page, just replace the http://www.yahoo.com, with the page you want to link to.

When your ready to move on to the next lesson, Click Here



Lesson 4








Company   |   Careers   |   Partners   |   Advertising   |   Help
Privacy Policy   |   Trademark Notices   |   User Agreement
2001 TheHTMlSource.com, INC. All Rights Reserved.



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