How to code an affiliate link into a website?

by GoGetta 4 replies
Hi Guys

I want to put an image in a text widget of my blog and have it as an affiliate link?

What is the HTML code to do this?

Appreciate the help,

GoGetta
#website design #affiliate #code #link #website
Avatar of Unregistered
  • Profile picture of the author Dave Kingston
    Code:
    <center>< <a href="http://www.yourafflink.com" target="_blank"><img src="http://www.yourdomain.com/theimage.jpg"></a></center>
    Should do the job.
    Signature
    Action Slider WSO - Slide Up Ad Plugin for WP
    Hover Wizard - Monetize Wordpress like never before - using ANY affiliate program in the World
    {{ DiscussionBoard.errors[1173919].message }}
  • Profile picture of the author OaldDesign
    try this one
    <a href="yoursite" target="_blank"><img src="yourimage" alt="" /></a>
    Signature

    Graphic Design & Web Development Services: http://www.oalddesign.com
    Banner Design Services: http://bannercheapdesign.com

    {{ DiscussionBoard.errors[1175727].message }}
  • Profile picture of the author aminjohar
    Originally Posted by GoGetta View Post

    Hi Guys

    I want to put an image in a text widget of my blog and have it as an affiliate link?

    What is the HTML code to do this?

    Appreciate the help,

    GoGetta

    If you like to optimize your image banner should give you pingback & seo friendly, you should put rel=tag and title at your affiliate link.

    Ex.

    <a href="affiliatelink" rel="tag" title="Your title"><img src="ImageOrBanner.gif" alt="You Title" border="0"/></a>

    may put width="100px" height="100px" in <img /> if you would like to resize your image (not recommended)

    Try your own. :-)
    {{ DiscussionBoard.errors[1180025].message }}
Avatar of Unregistered

Trending Topics