W3C home > Mailing lists > Public > www-validator@w3.org > February 2002

Re: Validator bug for HTML 4.01 Strict DTD?

From: Bob Rosenberg <webmaster@rockmug.org>
Date: Fri, 22 Feb 2002 00:00:12 -0500
Message-Id: <p05100305b89b8059edca@[192.168.1.3]>
To: "Davydd Cook" <davydd@mnsi.net>
Cc: <www-validator@w3.org>
At 21:06 -0500 on 02/10/2002, Davydd Cook wrote about Validator bug 
for HTML 4.01 Strict DTD?:

>Hello all.
>
>I was just running a validation on some PHP-generated code to make sure
>everything was being spit out properly, and came across this one error which
>prevented validation:
>
>    ... a href=http://some.link.here/ target="_blank">link text ...
>Error: there is no attribute "TARGET" for this element (in this HTML
>version)

Try coding it as
   <a href="http://some.link.here/" target="_blank">

The lack of the quotes around the HTTP... might be the problem. 
Otherwise it is the use of STRICT not TRANSITIONAL (since I do not 
think FRAMES are supported under STRICT).
-- 
--

Bob Rosenberg
Rockmug Webmaster
webmaster@rockmug.org
www.rockmug.org
Received on Friday, 22 February 2002 00:21:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:00 GMT