i am getting valdiation errors from using the following code:
target="_blank"
i use this on post links to jump to a new window. the coding is written with the visual mode turned off in my user pref.
errors do not seem to turn up when i do the same when targeting my blogroll links via the target dropdown menu.
The target attribute has been deprecated, you can either not use it, live with the validation errors, switch to a transitional doctype or there is also this method using some javscript: http://www.sitepoint.com/article/standards-compliant-world/3
Hope it helps. :)
Forcing users to open links in a new window is bad! It bothers me immensely when a website has decided that I have to open a new window.
I recommend rethinking avoiding target="_blank", and to be honest I don't think this should even be an option when inserting a link in WordPress.
There's a reason it has been deprecated - giving the user control and allowing them to choose when to open a new window or tab.
bpartch, this sounds interesting. will try it, thanks. btw - i am on transitional.
alex, thanks for sharing. this method admittedly is a controversial one. about 50-50 for and against. i hate leaving the site i am on then have to work my way back. and with firefox a new tab opening from an external link makes it seamless.