What is the code for opening link in new tab ?

5 replies
I want to open external link of my site to new tab what is the XHTML code for it. Please I want soon.
#code #link #opening #tab
  • Profile picture of the author BDazzler
    Use
    HTML Code:
    <a href="http://example.com" target="_blank">Anchor Text</a>
    The target = blank is what does it.
    {{ DiscussionBoard.errors[9729505].message }}
    • Profile picture of the author vkachuliak
      Is rel="nofollow" essential for this purpose?
      {{ DiscussionBoard.errors[9731160].message }}
      • Profile picture of the author BDazzler
        Originally Posted by vkachuliak View Post

        Is rel="nofollow" essential for this purpose?
        NO, as a matter of fact, I did not put that in. It looks like the BBS software did that.
        {{ DiscussionBoard.errors[9732279].message }}
    • Profile picture of the author zs3019
      Originally Posted by BDazzler View Post

      Use
      HTML Code:
      <a href="http://example.com" target="_blank">Anchor Text</a>
      The target = blank is what does it.
      this is true

      depends on your browser settings
      {{ DiscussionBoard.errors[9739133].message }}
  • Profile picture of the author sohailglt
    use target="_blank" attribute in anchor tag.
    <a href="url" target="_blank" >xyz</a>
    {{ DiscussionBoard.errors[9747621].message }}

Trending Topics