Skip to content

Instantly share code, notes, and snippets.

@0xnbk
Created September 13, 2010 04:12
Show Gist options
  • Save 0xnbk/576791 to your computer and use it in GitHub Desktop.
Save 0xnbk/576791 to your computer and use it in GitHub Desktop.
Target blank links
@0xnbk
Copy link
Author

0xnbk commented Sep 13, 2010

Target blank links

Do you use the target=blank attribute on links? If yes, you might know that XHTML 1.0 Strict don’t allow it. A good solution to this problem should be using JQuery to make links opening in new windows:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment