HTML – Link a picture to another page

October 2016


I just wanted to get the codes for adding images to a web page. I mean in html codes. This would help me greatly to add pictures to the sample web page that I am building. I had the main codes but I can't find it now.


The code like this will show just the pic:
<img border="0" src="address of image" width="304" height="228" /> 

This code will make your picture a link to another page or file or email or where ever you want it to go:

</script></p><a href=""><img src="images/logo.jpg" width="150" height="125" alt="HO logo"></a>


Thanks to wires and plugs for this tip on the forum.

Related :

This document entitled « HTML – Link a picture to another page » from CCM ( is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.