Re: Invalid HTML suggested by the HTML validator

Mr. Lambertsen, you may wish to check the DOCTYPE you are using.

HTML 3.0 never really got into general use, and it may not have this
particular option. Try using a 3.2 or 4.0/4.01 DTD.
(with 4.0x, make it Transitional, 4.0x Strict expects you to use CSS
whenever possible for "looks" issues like BORDER=)

--Curtis

----- Original Message -----
From: "Rask Ingemann Lambertsen" <rask@kampsax.k-net.dk>
To: <www-validator@w3.org>
Sent: Friday, May 05, 2000 4:09 PM
Subject: Invalid HTML suggested by the HTML validator


>    Hi.
>
>    I thought I'd use the HTML validator to check one of my HTM pages. I
> was surpriced when I got the result:
>
> ----------
>  HTML Validation Service Results
>
> Document Checked
>
> Jump to: Outline.
>
>   o URI:
http://www.kampsax.k-net.dk/~rask/PFA-sagen/2000-04-27-Ebbe-Mogensens-proced
ure.html
>   o Last modified: Fri May 5 20:45:16 2000
>   o Server: Apache/1.3.3 (Unix) mod_perl/1.16 PHP/3.0.15 mod_ssl/2.1.0
SSLeay/0.9.0b
>   o Content length: 8353
>   o Character encoding: unknown
>   o Document type: Strict HTML 3.0 (Beta)
>
> Below are the results of attempting to parse this document with an SGML
parser.
>
>   o Line 119, column 64:
>           <A HREF="http://validator.w3.org/check/referer"><IMG BORDER=0
>                                                                       ^
>
>     Error: there is no attribute "BORDER"
>
> Sorry, this document does not validate as Strict HTML 3.0 (Beta).
> ----------
>
>    The offending attribute comes from the piece of HTML that the HTML
> validator itself suggests you insert on pages that pass the check. I find
> it amusing, but unfortunate, that the HTML suggested by the validator
> isn't valid HTML.
>
>    I'm not on the list, so if you reply, please CC: to me.
>
> Regards,
>
> Rask Ingemann Lambertsen


__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

Received on Friday, 5 May 2000 19:10:46 UTC