Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



open link in new tab html code

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 22-05-2009
Member
 
Join Date: Dec 2005
Posts: 102
open link in new tab html code
  

Is there an HTML code to open links in a new tab? I want to use this () code instead of <> in the code? Can anyone help me out. Thank you

__________________
"Water is insubstantial. By this I mean you can not grasp hold of it. You can not punch it and hurt it. Be formless, shapeless, like water.
Reply With Quote
  #2  
Old 22-05-2009
Member
 
Join Date: Dec 2007
Posts: 1,591
Re: open link in new tab html code

The syntax or HTML code is typically as below:

<a href=”newwindow.html” target=”_blank”>New Window</A>

There are also publishers who use “_new” instead of “_blank” as the value for “target” attribute to open a link in new window. There is actually no “_new” defined as frame target names by W3C HTML standards. The only four reserved names are “_blank”, “_parent”, “_self” and “_top”. However, the “_new” value works the same way as “_blank” to launch the linked web documents in new browser window because of graceful error handling by web browsers. So “_new” is not a valid value for “target” attribute in link <a> anchor, and may cause inconsistent behaviour for strictly HTML compliant browser that ignores all other target names as frame target name should begin with an alphabetic character (a-z and A-Z).
Reply With Quote
  #3  
Old 22-05-2009
Member
 
Join Date: Jun 2006
Posts: 620
Re: open link in new tab html code

If your browser can tab, you need to change the settings on your browser to open links to a tab. HTML doesn't support tabbed browser yet, but that might change soon because IE7 now has the tab feature.

You can use <a href="url" target="_blank"></a>

That will open the link in a new blank window.
Reply With Quote
  #4  
Old 22-05-2009
Member
 
Join Date: Dec 2007
Posts: 1,541
Re: open link in new tab html code

<a href="http://www.someurl.com" target="_blank">

should open in new window.
Reply With Quote
  #5  
Old 16-12-2009
Member
 
Join Date: Dec 2009
Posts: 1
Re: open link in new tab html code

Where in google adwords code do you put the code to open it.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "open link in new tab html code"
Thread Thread Starter Forum Replies Last Post
Changing link color when moving mouse over link in HTML Cade Software Development 5 22-01-2010 07:46 PM
How to link CSS into the HTML file? Zhankana_n Software Development 5 23-12-2009 03:02 PM
Open image link in new window using HTML gazwsx Software Development 3 09-07-2009 09:27 PM
Html link code problem ByteCoder Software Development 4 09-02-2009 06:49 PM
How do I get the HTML code to display as HTML code? NAYASA Software Development 3 26-12-2008 01:35 PM


All times are GMT +5.5. The time now is 12:31 PM.