Re: Possible issue with 4.01 strict validator?

* 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