HTML – Link a picture to another page

April 2018


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.
Published by aakai1056. Latest update on January 22, 2010 at 09:09 AM by aakai1056.
This document, titled "HTML – Link a picture to another page," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (
HTML - Header and footer
Set the Width of an HTML Table to Fit the Screen