HTML Cheat Sheet
HTML Help Forum
Link to us
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:
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:
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:
And we finish it all off with an ending </a> tag. So our code ends up looking like this:
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
© 2001 TheHTMlSource.com, INC. All Rights Reserved.