W3C home > Mailing lists > Public > www-validator@w3.org > August 2005

Re: Possible issue with 4.01 strict validator?

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Mon, 29 Aug 2005 09:30:12 +0200
To: "Char-Lez Braden" <komori_san@hotmail.com>
Cc: www-validator@w3.org
Message-ID: <o5e5h11hsthsv8tcvuaupefp2llf1rk7it@hive.bjoern.hoehrmann.de>

* Char-Lez Braden wrote:
>This URL http://www.freecitizen.com/demo.html shows a very small HTML 
>document that the validator says is good, but looks I believe the HTML is 
>missing a </p> tag (Right above the </body> tag).   When I put the <p> tag 
>in (http://www.freecitizen.com/demo2.html) I get the message "Error  Line 19 
>column 7: end tag for element "P" which is not open."
>When I look at the parse tree (demo.html) it appears to me that the 
>validator is inserting a </p> just before the <ul> tag.

Yes, that's the correct behavior for HTML4 where the </p> is optional.
http://www.w3.org/TR/html4/intro/sgmltut.html has some of the details.
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Monday, 29 August 2005 07:29:52 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:52 UTC