While attempting to get my site to pass the W3C validation for compliance with the XHTML 1.0 Strict Standard, I encountered a classic “Theory versus Practice” issue. The target attribute available in prevous versions of the standard is no longer valid. This is a well-known issue and Google will find many hits on the subject. Here’s one example that more or less explains the rationale for the target attribute’s demise.
In case you are wondering why I’m making such a big deal of this, I’ve been using the target attribute for years now to control whether a new page loads on top of the current page or the browser opens a new window to display the new page. I’ve used the convention for years now that if the new page is in my domain (i.e., part of my site), I load it on top of the current page and if the new page is from an external domain, I open it in a new window.
This is especially annoying to me now that browsers with page tabs are available (e.g., Firefox) that allow one to take maximum advantage of the now “banned” target attribute.
I guess the old phrase “Standards are written to be Broken” I first heard years ago is still valid!