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

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
http://dorward.me.uk/
http://blog.dorward.me.uk/

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