I know that the _target attribute has been depreciated.
It hasn't been deprecated, nor has anything changed related to the
target attribute recently (since about 10 years ago).
At the time HTML 4 was written, target was only considered to be
related to frames, and frames were already seen as being a bad idea.
Target, as a means of opening a new window, wasn't as widely used as
it was later, mainly owing to the slower performance of browsers and
their lack of tabbed browsing.
Target _was_ removed from HTML 4 Strict, but it remained in HTML 4
Transitional and has never been deprecated (that has a specific
meaning, which this doesn't match). Depending on which version of
history you read, this was either because target (as related to
frames) was obsolete, or because target (as related to the exciting
new world of dynamic HTML) wasn't adequate and it would soon be
replaced by something better. For HTML 4 it's probably the first, for
XHTML 1.0 to XHTML 1.1, it's the latter -- a big shiny new & improved
target module for XHTML will be along Real Soon Now.
So in the meantime there are _two_ concerns to worry about:
* Is opening new windows a good idea?
* How should new window openers be coded?
There's no agreement on the first, other than a grudging acceptance
(from both camps) that it depends on the context. The most hardcore
"open everything new" advocates wouldn't suggest it for a simpel site
nav menu, the most anti-popup coder _might_ agree to the odd one for a
zoom window on an image gallery - provided that it was recycled
between images and the window focus was correctly managed. "Off site"
navigation from an "index" site (i.e. external links from wikipedia or
google) are a more contentious case.
There's less need for target now than there used to be. Tabbed
browsers, Control-click to open a new window, better experienced
users, all these mean that the concept "Let the user decide" may
finally have some bearing on reality. A few years ago, users simply
didn't know that they _could_ open new windows. There's some mileage
now in the notion that it's easy for a user to open a new window when
they want, harder to _avoid_ opening one when they don't but the site
coder did. So make the default to not do it.
Really though, it's up to you to decide. It's not a "bad" site whether
it does or doesn't. Your call.
As to how to code it, then you can do all sorts of tricks. Add it to a
HTML 4.01 Strict page, making it invalid markup but still letting your
validator check that you haven't used a <font> tag as well (as if you
would). Drop back to HTML 4.01 Transitional and have completely valid
pages, but a few pinheads telling you that this page is somehow
"wrong" because it uses a retrograde doctype. Naturally you'll avoid
the <font> tags whatever.
If you do choose to use JavaScript and window.open(), then certainly
you should use target (to support non-JS browsers). If you've already
decided that you _will_ use popup windows, then at least do it
properly and ignore the peanut gallery who can only squawk, "target
bad", "Transitional bad", "Four legs good".