Could someone help me with my html quickly please?

by andyrandall Banned
7 replies
Hi Everyone

Im trying to add a link to one of my images with html but my code keeps on adding the link to all the text after the image up until the next hyperlink.

Heres the exact code im using

<a rel="nofollow" href="http://www.xxxxxxxxx.net" > <img src="http://www.xxxxxxx.net/wp-content/uploads/2011/05/xxxxxxLogo.jpg"</a>


<span style="font-size:medium;">Hi everyone</span>

<span style="font-size:medium;">I'm Sarah and ive created this weight loss website to discuss different weight loss techniques and hopefully help everyone out there whose struggling with there weight overcome it</span>
<a href="http://www.xxxxxxx.net/about-me/"><span style="font-size:medium;">Click Here To Read More About Me</a></span>



So i just want it to link the image source but it carries on up until my next link saying "click here to read more.

Could some one please tell me what code i need to add to the first paragraph to get it to just link the image.

Thanks

Andy

Ps im very new to html and am self teaching myself
#html #quickly
  • Profile picture of the author RichardF
    You didn't close your <img> tag.. it should be:
    <a rel="nofollow" href="http://www.xxxxxxxxx.net" > <img src="http://www.xxxxxxx.net/wp-content/uploads/2011/05/xxxxxxLogo.jpg" /></a>

    Notice the /> at the end.
    Signature


    Need a writer who really understands the Internet marketing niche?
    Sales copy, autoresponders, articles, e-books, blog posts & more!
    Visit my WF thread -or- my website

    {{ DiscussionBoard.errors[3985054].message }}
    • Profile picture of the author andyrandall
      Banned
      Great

      Thanks Richard i knew it would be something simple. But it was killing me! Lol
      {{ DiscussionBoard.errors[3985068].message }}
      • Profile picture of the author andyrandall
        Banned
        And i will remember i always need to close with > if i see < kay

        Thanks

        Its all the little things that count with html
        {{ DiscussionBoard.errors[3985078].message }}
        • Profile picture of the author lgibbon
          Banned
          Originally Posted by andyrandall View Post

          And i will remember i always need to close with >
          No, it's />
          {{ DiscussionBoard.errors[3985097].message }}
          • Profile picture of the author andyrandall
            Banned
            Correction />

            Thanks

            just understanding that is gonna make a big difference to things.

            Self learning is hard work but i think im picking it up pretty quickly
            {{ DiscussionBoard.errors[3985106].message }}
          • Profile picture of the author Kay King
            See - my bad....it's />

            To me it was obvious (the "/") but of course it isn't and I should have said

            "every time you open with < you need to close with /> - sorry to be confusing about it.

            kay
            Signature
            Saving one dog will not change the world - but the world changes forever for that one dog
            ***
            Live life like someone left the gate open
            {{ DiscussionBoard.errors[3985132].message }}
  • Profile picture of the author Kay King
    <img src="http://www.xxxxxxx.net/wp-content/uploads/2011/05/xxxxxxLogo.jpg"
    You've left this open - need to add a > at the end.

    Any time you use "<" you have to close with ">"

    You've made the same error in the others from giving it a quick glance.

    I could do it for you - but better for you to understand what I'm saying and find the errors to correct them. It's an easy mistake to make - I've done it many times.

    kay
    Signature
    Saving one dog will not change the world - but the world changes forever for that one dog
    ***
    Live life like someone left the gate open
    {{ DiscussionBoard.errors[3985062].message }}

Trending Topics