how to open link in background in html

Discussion in 'HTML & Website Design' started by pinakel, Jul 18, 2012.

  1. #1
    how to open link in background in html. like open link in new tab. i want to enable it in left click. how do i do i ? :confused: no pop under or up
     
    pinakel, Jul 18, 2012 IP
  2. itarticle

    itarticle Greenhorn

    Messages:
    35
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #2
    can you please explain the question...
     
    itarticle, Jul 18, 2012 IP
  3. GMF

    GMF Well-Known Member

    Messages:
    855
    Likes Received:
    113
    Best Answers:
    19
    Trophy Points:
    145
    #3
    I think this should work

    
    <a href="yourwebsite.tld" target="_blank">Your-link</a> 
    
    HTML:
    Try it before you deploy it ;)
     
    GMF, Jul 18, 2012 IP
  4. tyler stone

    tyler stone Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    So simple I am sending you code please do check it. It will help you.
    <a href="http://www.layerslogic.com">Websites Developing</a>
    <a href="Put Here you website">Put Here your Heading(You want to link</a>
     
    tyler stone, Jul 18, 2012 IP
  5. Bryan Zazz

    Bryan Zazz Peon

    Messages:
    34
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5

    I think GMF has your answer: use the "_blank" target in your anchor tags, ant that will do what you want ...
     
    Bryan Zazz, Jul 25, 2012 IP