HTML – Link a picture to another page

Ask a question


Issue



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.

Solution


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="http://ccm.net"><img src="images/logo.jpg" width="150" height="125" alt="HO logo"></a>

Note


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

HTML - Header and footer
Set the Width of an HTML Table to Fit the Screen