jump to last post 1-5 of 5 discussions (5 posts)

HTML Codes

  1. LisaG profile image62
    LisaGposted 10 years ago

    There are some sites I would like to link to and they've given me a HTML source code to use.  Now it says "copy the following code and paste it into the HTML for your web page".  I hope I don't sound stupid, but if I'm writing a hub where is the HTML for my hub?

  2. relache profile image89
    relacheposted 10 years ago

    The way HubPages works, you don't ever have access to the source coding.  Those sites are presuming you have your own web site, not using something like HubPages.

    If it's just a regular link, I suggest you just use a link capsule.  Most affiliate links and trackers contain HTML that is outside of what is allowed in a text capsule, so what you want to paste may not even work on this site at all.

  3. profile image58
    aaanativeartsposted 10 years ago

    If the code they gave you is HTML and not javascript, the extra stuff is probably just a 1x1 pixel image they will use for tracking your impressions of the affiliate link. You could put that on the same page as the link as an image and it will still track. It doesn't have to be exactly next to the link.

  4. profile image0
    daflaposted 10 years ago

    If you'll look on this hub

    http://hubpages.com/hub/Frugal_Gardenin … _From_Seed

    you'll see how I've gotten around that. Look at the Park Seed picture and link.  I broke the link up into the image html and the text html, and used an image capsule and a link capsule one on top of the other. 

    The link you have will have a lot of code in it.  Look for the site name, which starts with http://.  Copy and paste that into a link capsule, and add whatever text you want.  If it's an affiliate link, be sure you put the entire link in it with the affiliate code.  The image will start with an <img link code, and then the image location, which also starts with http://.  Copy that entire code and put it into a picture capsule. 

    As you can see, I moved both my capsules to the right and put the picture capsule over the text capsule.

    If there isn't a picture, just copy the http:// address, and then see what their text is (right before the </a>).  Put the address into a link capsule and put the text into the link text box.

    Simple, right?  There are ways around almost everything.

  5. LisaG profile image62
    LisaGposted 10 years ago

    Thank you very much dafla, I think I understand what to do now.  I will try it and see how it works out. 

    Thank you everyone else for your responses.