Results 1 to 5 of 5

Thread: open link in new tab html code

  1. #1
    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.

  2. #2
    Join Date
    Dec 2007
    Posts
    1,602

    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).

  3. #3
    Join Date
    Jun 2006
    Posts
    625

    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.

  4. #4
    Join Date
    Dec 2007
    Posts
    1,548

    Re: open link in new tab html code

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

    should open in new window.

  5. #5
    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.

Similar Threads

  1. Changing link color when moving mouse over link in HTML
    By Cade in forum Software Development
    Replies: 5
    Last Post: 22-01-2010, 06:46 PM
  2. How to link CSS into the HTML file?
    By Zhankana_n in forum Software Development
    Replies: 5
    Last Post: 23-12-2009, 02:02 PM
  3. Open image link in new window using HTML
    By gazwsx in forum Software Development
    Replies: 3
    Last Post: 09-07-2009, 08:27 PM
  4. Html link code problem
    By ByteCoder in forum Software Development
    Replies: 4
    Last Post: 09-02-2009, 05:49 PM
  5. How do I get the HTML code to display as HTML code?
    By NAYASA in forum Software Development
    Replies: 3
    Last Post: 26-12-2008, 12:35 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •