In comp.lang.javascript message <Sa2dnX8T_fKOF9TVnZ2dnUVZ_qqgnZ2d@prairiThat would be clearly a childish behavior: "it is OK to do if daddy
ewave.com>, Fri, 6 Jun 2008 14:03:45, rfr <rfroh...@iw.netposted:
Unfortunatley, I don't think that use of "target" will pass the WC3
validator. That menas you will not be able to use validation to check your
code to be sure it is up to standards and hopefully more cross-bowser.
A single expected failure does disallow use of the "valid" logo; but it
does not prevent the rest of the page being checked. To make sure, do
an occasional test with target not used.
If JavaScript is available, I suppose one could add the target attribute
by script, or write the whole link by script.
cannot see it". W3C Validator doesn't really validate anything for a
longest time by now anyway. With some caution it can be still used as
a markup errors checker, as well as HTML Tidy can be. Outside that its
HTML part is just a curious artifact of W3C ideas about the future of
the Web as they had them in 1998-99
At the modern time the DOCTYPE is only used for the mode switch with
two doctypes covering all needs:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"for
BackCompat mode
<!DOCTYPE htmlfor CSS1Compat mode
See also:
http://www.w3.org/TR/html5/#the-doctype
http://www.w3.org/TR/html5/#the-initial