Wednesday, 4 November 2009

Tutorial 4 : Creating Links

Tutorial 4 will concentrate on showing you how to link to either other pages on your site or a different website. Links are used in nearly every website as they are a functional and easy to use way of navigating the web. For instance when you search in google and press the search button, you are in fact clicking a link. This takes you to another webpage.

Links are very easy to implement to your website and they have, by default, a blue text color and are underlined once. This can be changed to fit in with your website if need be. For now though we will concentrate on how to create links.

To create a link all you need to do is type the following line:

<a href="#"> Hello </a>

This line produces the following:

Hello

This as you can see does not take you anywhere but if you replace the pound sign with a website URL of your choice you can make it so that the link takes you to that URL.

For instance linking to my site I would put the following:

<a href="http://emforce-webdev.blogspot.com">My Website</a>

Thats all from Tutorial 4 : Creating Links I hope you found it intuitive.

In the next tutorial I shall show you how to use CSS to help create your websites. Please stay tuned and if you found this tutorial useful please become a follower and learn along side others learning both HTML and CSS.

Thank you!

No comments:

Post a Comment