how do you "rename" a web link?

Discussion in 'Web Design and Development' started by sonarghost, May 26, 2007.

  1. macrumors regular

    Joined:
    Sep 6, 2006
    #1
    I'm not really sure how to ask this and don't know how to do a search for it! lol

    example:

    Take a look at my picture www.abcdefg.com (not my homepage just made up an example)

    changed to:

    Take a look at my picture CLICK HERE

    I want to do this on some ebay auctions so they can take a look at some info without them clicking a written link to the address..could someone help me on how to do this with safari and/or with ebay?

    Thank you in advance to those who can help!
     
  2. macrumors newbie

    Joined:
    Nov 18, 2006
    Location:
    Southampton
    #2
    Code:
    <a href="http://www.example.com">CLICK HERE</a>
    Replace www.example.com with the URL. Just write before it, "Take a look at my picture" then insert the code above.

    http://www.w3.org/MarkUp/Guide/ << you may find that helpful.
     
  3. macrumors G5

    CanadaRAM

    Joined:
    Oct 11, 2004
    Location:
    On the Left Coast - Victoria BC Canada
    #3
    Basic HTML A Href tag syntax:
     
  4. Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #4
    Well I've never created an Ebay auction, but the HTML for it is as follows. You can try it out, but can't guarantee it.

    Take a look at my picture <a href="http://www.abcdefg.com">CLICK HERE</a>

    or better yet,

    <a href="http://www.abcdefg.com">Take a look at my picture</a>
     
  5. macrumors 65816

    psycoswimmer

    Joined:
    Sep 27, 2006
    Location:
    USA
    #5
    Yup, it's a basic HTML tag. Did anyone else notice that that "example" goes to Hooked on Phonics? :p
     
  6. macrumors 6502a

    Joined:
    Jan 8, 2007
    Location:
    Brighton, East Sussex, UK
    #6
    wow three identical answers :D

    you will probably want to use this code instead so that the image opens up in a new window.

    HTML:
    <a href="http://www.blah.com/imagename.jpg" target="_blank">Click Me</a>
    :)
     
  7. macrumors 65816

    psycoswimmer

    Joined:
    Sep 27, 2006
    Location:
    USA
    #7
    I was going to include the target/_blank thing, but thought it would be too complicated. While on that topic, you can also use these targets:

    "_parent"
    "_self"
    "_top"

    And of course, use your own targets if you happen to be using iFrames.
     
  8. thread starter macrumors regular

    Joined:
    Sep 6, 2006
    #8
    Once again friendly folks at Macrumors come to save the day! Thanks a million guys!:D
     
  9. macrumors 65816

    psycoswimmer

    Joined:
    Sep 27, 2006
    Location:
    USA
    #9
    No problem. :) Glad that we could help.
     
  10. macrumors 6502a

    Joined:
    Jan 8, 2007
    Location:
    Brighton, East Sussex, UK
    #10
    glad to be of service
     

Share This Page