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

[Bug 1065] Untrue error statement

From: <bugzilla@wiggum.w3.org>
Date: Sat, 29 Jan 2005 12:38:00 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1CurrU-00011D-T4@wiggum.w3.org>


ville.skytta@iki.fi changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

------- Additional Comments From ville.skytta@iki.fi  2005-01-29 12:38 -------
The validator does not complain about an unclosed <p>, it's telling you that you
have a </p> end tag for which you don't have an opening <p> for.  Which is
indeed what you've got.

</p> is optional in HTML 4.x, and because <p> cannot contain <form>, it is
implicitly closed just before the form begins.  You'll see this by checking the
"show parse tree" checkbox in the results view and revalidating.  IOW, the
following two are equivalent in HTML 4.x:


The syntax of X(HT)ML is more explicit, so in case you wish to avoid pitfalls
like this and other similar ones, looking into it might be a good idea.
Received on Saturday, 29 January 2005 12:38:01 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:19 UTC