HTML - Image links

With image`s help you can give a bit of life to a web page. Transforming an image in al ink is not however hard.You just need to introduce the source of the image in the interior of the tag link.

<a href="http://www.tutorialehtml.com"><img src="../img/image.jpg"></a>

Display

 

In most of the cases by default most of the browsers adds a border to the image used as a link, for being easy to differentiate it from a normal image. So that you would not have problems of different viewing because of the browser we can set the border to a defined value.

<a href="http://www.tutorialehtml.com"><img src="../img/image.jpg" border="0"></a>

Display


HTML - Thumbnails

The thumbnails are versions in miniature(a lot less kB) of some images which in reality are bigger and with a better quality.To make a thumbnail, save the image in a poor quality and in small dimensions. Then make this image a link which will lead at the initial image of big dimension.

<a href="../img/fereastra.jpg"> <img src="../img/tumb_fereastra.jpg"> </a>

Display