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

Re: no endtag - still no errors found

From: Jim Correia <correia@barebones.com>
Date: Wed, 20 Feb 2002 23:18:22 -0500
Cc: www-validator@w3.org
To: symposion@onlinehome.de
Message-Id: <0AE50C95-2682-11D6-8166-000A27D7C068@barebones.com>
On Saturday, February 16, 2002, at 02:08 PM, hn/berlin wrote:

> i  just checked one of my HTML4.0 - Pages with the validator.
> Result was: "no errors found"
> witch would be great, if there wasn`t the fact, that this document 
> missed the end-tag for "head".
> None of my 3 Browsers (opera6, ie5.0 and netscape4.73) had any visible 
> problems whith the document,
> still i do not think, that a page, that does not distinct between Head 
> and Body can be valid...

In HTML (not XHTML) the opening and closing tags for HTML, HEAD and BODY 
are optional when the can be inferred from context. It is a good idea 
for you to include them, but omitting them isn't an error, so the 
validator won't flag it as such.

Jim
Received on Wednesday, 20 February 2002 23:18:23 GMT

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