W3C home > Mailing lists > Public > www-validator@w3.org > March 2008

Re: HTML Validator giving false error report on a valid HTML markup

From: David Dorward <david@dorward.me.uk>
Date: Mon, 24 Mar 2008 21:45:19 +0000
Message-Id: <2A763CD9-58E4-4886-AD40-7E637DA40E12@dorward.me.uk>
Cc: <www-validator@w3.org>
To: <bamajr@bamajrsdotdesign.com>

On 24 Mar 2008, at 21:37, Bamajr wrote:
> When I run your validation tool I get the following error:
> It states that on line Line 287, Column 13: end tag for element "P"  
> which is not open.
>                                     </form></p>

Which is correct.

Paragraphs cannot contain forms, so the start of a form ends the  
paragraph by implication. If you then try to close the paragraph  
explicitly, you fail because it is already closed.

> However, I checked this tag several times by hand and ran it  
> through every WYSIWYG program I could install.

A good demonstration of why WYSIWYG should be avoided.

David Dorward
Received on Monday, 24 March 2008 21:46:00 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:55 UTC