Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: putting link code in banner image  (Read 16473 times)

0 Members and 1 Guest are viewing this topic.

youtubemaker30

    Topic Starter


    Rookie

    • Experience: Familiar
    • OS: Windows XP
    putting link code in banner image
    « 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]

    camerongray



      Expert
    • Thanked: 306
      • Yes
      • Cameron Gray - The Random Rambings of a Computer Geek
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Mac OS
    Re: putting link code in banner image
    « Reply #1 on: April 20, 2013, 02:17:51 PM »
    Assuming that you are inserting the banner as an image, you can simply wrap the "img" tags with a link.

    For example:
    Code: [Select]
    <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:
    Code: [Select]
    <a href="http://www.example.com" target="_blank"><img src="yourimage.jpg"></a>

    theavries



      Newbie

      • Domein aanvragen
    • Experience: Experienced
    • OS: Mac OS
    Re: putting link code in banner image
    « Reply #2 on: May 17, 2013, 03:24:11 AM »
    change img into
    Code: [Select]
    <img src="yourimage.jpg" border="0">, so you won't get a blue line :)