- From: <bugzilla@wiggum.w3.org>
- Date: Sat, 29 Jan 2005 12:38:00 +0000
- To: www-validator-cvs@w3.org
- Cc:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=1065 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: <p><form>...</form></p> <p></p><form>...</form></p> 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