How will i give link through HTML coding?

Discussion in 'HTML & Website Design' started by alisha0512, Jun 19, 2008.

  1. #1
    Please anybody tell me , On a particular keyword how will i give the link by HTML coding.
     
    alisha0512, Jun 19, 2008 IP
  2. webmindz24

    webmindz24 Peon

    Messages:
    311
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    <a href="http://www.link.com">Keyword</a>

    link = your desired link /website address
    Keyword = replace with your desired keyword
     
    webmindz24, Jun 19, 2008 IP
  3. alisha0512

    alisha0512 Banned

    Messages:
    345
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks to tell me.
    Can we give the link on a image by HTML?
     
    alisha0512, Jun 20, 2008 IP
  4. dcristo

    dcristo Illustrious Member

    Messages:
    19,776
    Likes Received:
    1,200
    Best Answers:
    7
    Trophy Points:
    470
    Articles:
    7
    #4
    Insert the image code inside the anchor text.
     
    dcristo, Jun 20, 2008 IP
  5. alisha0512

    alisha0512 Banned

    Messages:
    345
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    please tell me the syntax for link with image.
     
    alisha0512, Jun 20, 2008 IP
  6. iamben

    iamben Active Member

    Messages:
    116
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    73
    #6
    You can find all this with a quick google....

    <a href="http://www.link.com"><img src="imagelocation/imagename.jpg" /></a>
     
    iamben, Jun 20, 2008 IP
  7. eadkung

    eadkung Active Member

    Messages:
    148
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    58
    #7
    Important, if you care about keyword and SEO stuff. You should put your keyword in "alt" and "title" property.
    <a href="http://www.link.com" title="Keyword"><img src="imagelocation/imagename.jpg" alt="Keyword" /></a>
    HTML:
     
    eadkung, Jun 20, 2008 IP
  8. heavener

    heavener Peon

    Messages:
    26
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    You don't need to put a / at the end of the image tag.

    <img src="imagelocation/imagename.jpg" alt="Keyword">
    Code (markup):
     
    heavener, Jun 20, 2008 IP
  9. BANAGO

    BANAGO Active Member

    Messages:
    456
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    58
    #9
    You do need to do that for valid XHTML
     
    BANAGO, Jun 20, 2008 IP
  10. eadkung

    eadkung Active Member

    Messages:
    148
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    58
    #10
    For new fasion with html coding-XHTML
    You need to put / at the end of the image tag.

    <img src="imagelocation/imagename.jpg" alt="Keyword" />
    also
    <br />
    <hr />
    ...
    :D
     
    eadkung, Jun 20, 2008 IP
  11. heavener

    heavener Peon

    Messages:
    26
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    okay, but W3 HTML validator gives negative reply when putting <br /> and of that sort.
     
    heavener, Jun 20, 2008 IP
  12. BANAGO

    BANAGO Active Member

    Messages:
    456
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    58
    #12
    We are in the age of XHTML now.
     
    BANAGO, Jun 21, 2008 IP
  13. getlucky

    getlucky Guest

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #13
    You can give hyperlink to keyword in html coding like <a href="http//www.examle.com">keyword</a>
    try this.
     
    getlucky, Jun 21, 2008 IP
  14. iamben

    iamben Active Member

    Messages:
    116
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    73
    #14
    Hahaha! :)
     
    iamben, Jun 21, 2008 IP
  15. nicangeli

    nicangeli Peon

    Messages:
    828
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    0
    #15
    The OP never mentions xHTML so why do you presume that they are using it. I use a strict HTML 4.01 doctype, which works just fine, especially as I send my pages as text/html and I am pretty sure you do the same, since IE still has the largest market share.
     
    nicangeli, Jun 21, 2008 IP
  16. BANAGO

    BANAGO Active Member

    Messages:
    456
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    58
    #16
    I use xhtml doctype. It works fine for me too. If we want to give an end to IE6, then we web designers and coders must be the first to not code for IE6 anymore, even though it is a pain because of the bugs.
     
    BANAGO, Jun 21, 2008 IP
  17. alisha0512

    alisha0512 Banned

    Messages:
    345
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #17
    thanks for your reply.
    Please tell me how will i create a table in HTML?
     
    alisha0512, Jun 23, 2008 IP
  18. kmap

    kmap Well-Known Member

    Messages:
    2,215
    Likes Received:
    29
    Best Answers:
    2
    Trophy Points:
    135
    #18
    <table>
    <tr>
    <td>
    First row
    </td>
    <td>
    First row
    </td>
    </tr>
    <tr>
    <td>
    Second row
    </td>
    <td>
    Second row
    </td>
    </tr>
    <tr>
    <td>
    third row
    </td>
    <td>
    Third row
    </td>
    </tr>
    </table>
    This is a simple table

    Regards

    Alex
     
    kmap, Jun 23, 2008 IP
  19. alisha0512

    alisha0512 Banned

    Messages:
    345
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #19
    what is The IE6?
     
    alisha0512, Jun 23, 2008 IP
  20. alisha0512

    alisha0512 Banned

    Messages:
    345
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #20
    thanks for your reply.
    Please tell me what is this td ,tr in table coding?
     
    alisha0512, Jun 23, 2008 IP