logo       

Re: Bug in online validator?: msg#00081

org.w3c.validator

Subject: Re: Bug in online validator?


On Sun, 2002-09-22 at 00:45, Kevin Krause wrote:

> I just used http://validator.w3.org/ to validate one of my HTML
> documents. It was all good (so the validator said), but at a closer look
> I realized that my document starts with
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
>
> but ends with
>
> </body>
>
> so I obviously forgot the </html> tag. Thus it was not supposed to
> validate as correct, or am I wrong?

The </html> end tag is optional in HTML 4.01:
<http://www.w3.org/TR/html401/struct/global.html#edef-HTML>

> Anyway, thanks a lot for providing the great online service, its ease of
> use (and the fact that it's just a right-mouse-click in Opera) give me
> great motivation to write standards compliant HTML, which I do
> exclusively now.

While you're at it, why not use the strict DTD, or even better, the
XHTML 1.0 (strict) DTD...

--
\/ille Skyttä
ville.skytta at iki.fi




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise