What is the code for opening link in new tab ?

by 5 replies
7
I want to open external link of my site to new tab what is the XHTML code for it. Please I want soon.
#programming #code #link #opening #tab
  • Use
    HTML Code:
    <a href="http://example.com" target="_blank">Anchor Text</a>
    The target = blank is what does it.
    • [ 1 ] Thanks
    • [2] replies
    • Is rel="nofollow" essential for this purpose?
      • [ 1 ] Thanks
      • [1] reply
    • this is true

      depends on your browser settings
  • [DELETED]
    • [ 1 ] Thanks
  • use target="_blank" attribute in anchor tag.
    <a href="url" target="_blank" >xyz</a>

Next Topics on Trending Feed