Computer Hope
Internet & Networking => Web design => Topic started by: youtubemaker30 on April 20, 2013, 01:33:46 PM
-
how do I put link code in banner??
So when someone clicks on it, it goes t o site??
[recovering disk space, attachment deleted by admin]
-
Assuming that you are inserting the banner as an image, you can simply wrap the "img" tags with a link.
For example:
<a href="http://www.example.com"><img src="yourimage.jpg"></a>
If you want the banner to open in a new tab (which is what most banners will do, you can set a target attribute like this:
<a href="http://www.example.com" target="_blank"><img src="yourimage.jpg"></a>
-
change img into
<img src="yourimage.jpg" border="0">
, so you won't get a blue line :)