Lesson 3
Hello and welcome back again, Today you are going to learn and practice how to link pages and how to add email links and more importantly how to add (:>)-<--< that picture of yours.
To begin with, there are two main tags that are very important when dealing with links and images.
we will start with images:
If you want to put an image on your webpage all you need to do is the following.
<img src="the_location">
All images on the web have location and this location goes into the brackets.
If you have the image you want in your computer you need to upload it to your server and assign it a location.
After linking the image you may find it too large or too small. There is a way that you can access to your image properties. consider the following:
<img src="the_location" height=100 width=200>
The above example shows how you can change the size of the image.
Now that you can put the image on your page maybe you want to link it. Before we can link images let is look at how you can make simple links.
<a href="http://startlearning.htmlplanet.com">My favourite site</a>
This is going to look like.
my favourite site
all you need to do is change the location of the link. If you want to link to an email address you just need to change the following.
<a href="mailto:send@mail.com">contact me by email</a>
Now that you know that you can link your image by using what you have learned as follows:
<a href="http://startlearning.htmlplanet.com">
<img src="the_location"></a>
Now check this link and see where it takes you.
|