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@[]>
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

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
Received on Friday, 22 February 2002 00:21:35 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:32 UTC