the Target Attribute

For years and years, it has been standard practice in sites, when linking to off-site address, to have that link open up in a new window, courtesy of the target attributes (originally intended to allow us to send results to the window of another frame on the same site). I myself have often made use of the target attribute to send people off to other sites. Indeed, even on Tannock.net I used to regularly make use of it when linking elsewhere. The reason, always, is stickyness — every site owner wants people to stay at their site. It seems that when someone follows a link elsewhere, that’s a bad thing. If this new site opens in a new window, then, to a certain degree, people haven’t left. Most importantly, it’s easier for people to find your site again (just close the new window).

I’ve lately been rethinking the target attribute. Why? Well, for one thing, it’s no longer part of the syntax, having disapeared in the XHMLT 1.0 (strict) definition. So of course, sites with it would no longer validate, which is one issue (whether or not validation is a must for a site is another debate). But with the rise of tabbed browsing, and the general savviness of the average user, perhaps the target attribute’s utility has run its course. If someone wants to keep the old page, it’s fairly easy to right-click and open that new page in a tab or window. Of course, not everyone knows that they can do this, and that’s fine too. My basic argument is that it’s just not that important to keep visitors at your site. Users can easily bookmark sites (And I’ve noticed that the less web-savvy the user, the more (and more poorly organized) their bookmark list is).

More than this, and here’s where my anal-retentiveness comes in, the target attribute ‘breaks’ the web. By spawning a new window, and thus erasing my previous history, I break the thread of information that led the user to where they clicked on the link. Imagine the confusion of a neophyte user who’s trying to find the page before the one they clicked on the window-spawning link, only to find that they can’t go back any further in the history of the new window. They give up, annoyed, confused, whatever — but they can’t find that previous page. Worse, they can’t even get back to your site, which they liked because of the great link, because that doesn’t exist in the new window’s history either.

So there’s my little rant about the target attribute. Thoughts?

8 Replies to “the Target Attribute”

  1. You know Steve, I would be with you, except for the number of clients we talk too — usually the ones who aren’t as web savvy — who complain bitterly about links to external sites “taking them away” from the initial site and that then they “can’t get back to where they were.” They seem to really value the target=blank feature.

  2. You know Steve, I would be with you, except for the number of clients we talk too — usually the ones who aren’t as web savvy — who complain bitterly about links to external sites “taking them away” from the initial site and that then they “can’t get back to where they were.” They seem to really value the target=blank feature.

  3. I really hate links that open up a new window. This isn’t the normal behavior for most links on the web so when it happens it’s always a surprise. People know how to open up a new window if they want, or how to create a tab if they want, and choosing for them just becomes irritating.

    I’ve always liked the idea of putting a small disclaimer when a link takes you away from the site. That way the user can decide on their way of getting there if they want to go at all.

  4. I really hate links that open up a new window. This isn’t the normal behavior for most links on the web so when it happens it’s always a surprise. People know how to open up a new window if they want, or how to create a tab if they want, and choosing for them just becomes irritating.

    I’ve always liked the idea of putting a small disclaimer when a link takes you away from the site. That way the user can decide on their way of getting there if they want to go at all.

  5. I’ll tell you one place that I adamantly require the target link is here, in blog comments. Without the linked reference opening in a new window, it opens here, in this little window that has no browser buttons. I then expand the window, look at the site, and 95% of the time close the window (unless I remember and navigate back via >Go>Back), then say “Shit” and have to go back to the thread, reopen the comments, refind my place in the (usually 30-100) comments, and carry on from there. A pain? You betcha.

  6. I’ll tell you one place that I adamantly require the target link is here, in blog comments. Without the linked reference opening in a new window, it opens here, in this little window that has no browser buttons. I then expand the window, look at the site, and 95% of the time close the window (unless I remember and navigate back via >Go>Back), then say “Shit” and have to go back to the thread, reopen the comments, refind my place in the (usually 30-100) comments, and carry on from there. A pain? You betcha.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: