W3C home > Mailing lists > Public > public-html@w3.org > February 2008

Re: Validation error frequencies (target="_new")

From: Philip Taylor <pjt47@cam.ac.uk>
Date: Mon, 04 Feb 2008 21:56:16 +0000
Message-ID: <47A78A00.5000905@cam.ac.uk>
To: "j.j." <moz@jeka.info>
CC: Simon Pieters <simonp@opera.com>, Henri Sivonen <hsivonen@iki.fi>, HTML WG <public-html@w3.org>

On 04/02/08 20:57, j.j. wrote:
> HTML4 Transitional allows _blank, _parent, _self, _top but not _new.
> Browsers handle target="_new" same as target="xyz".

Firefox handles target="_new" specially like target="_blank". IE6 / 
Opera 9.2 / WebKit seem to not handle it specially.

Firefox handles _content and (case-sensitively) _main, though I'm not 
sure exactly what it does with them.

IE6 also handles _main, though I'm also not sure what that does. And it 
handles _media and _search, targeting the media and search sidebars 

WebKit handles _current the same as _self.

> Authors might erroneous use "_new" if they want the functionality of 
> "_blank". Therefore having "_new" non-conforming and "_blank" conforming 
> is hepful.

_new seems to be used quite commonly - I see the following <a target> 
values on the given number of pages, out of 15K from dmoz.org:

5057  _blank
1636  _top
  653  _self
  429  new
  269  _new
  234  _parent
  126  blank
   78  NEW
   29  _BLANK
   25  main
   24  _pollresults
   19  Mailer
   18  top
   15  popup
   11  _NEW
   11  _phpbb
   11  fs_body
   10  _Blank
   10  _TOP

Philip Taylor
Received on Monday, 4 February 2008 21:56:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:12 GMT