Re: CSS/XHTML Validators weirdness

On 16.07.01 at 21:29, salo <salo@Xtrmntr.org> wrote:

>On Mon, Jul 16, 2001 at 01:59:46AM +0200, Terje Bless wrote:
>>
>> <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>> s/HTML/html/;
>
>yes, that was it. i had to overlook it before, but i know why i did this
>mistake, -> error from HTML validator:
>
>  You should make the first line of your HTML document a DOCTYPE
declaration,
>  for example, for a typical HTML 4.01 document:
>
>  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
>            ^^^^

Yes, HTML 4 is case-insensitive whereas XHTML 1 is case-sensitive. The root
element ("html") in XHTML is in lower-case. Perhaps this should be clearer
in Validator output. Thanks for pointing this out! :-)

Received on Monday, 16 July 2001 16:58:48 UTC