Page 1 of 1

Disable message - input element in form element

PostPosted: Fri Apr 27, 2012 11:05 am
by pensacolauser
Is there a way to disable this message (CSE HTML Validator version 11.0213)?

In an XHTML 1.1 document, the "input" element may not be directly contained in a "form" element. It should be in a container element like "address", "div", "p", "pre", a heading element, etc. The "form" element may directly contain only block-level elements in this document type.

Re: Disable message - input element in form element

PostPosted: Fri Apr 27, 2012 2:19 pm
by Albert Wiersch
You should be able to right-click on it and disable it using Message Options->Disable using Exact Text Match when it's displayed in CSE HTML Validator's editor in the Message tab.

However, I would recommend fixing the problem or changing doctypes before doing the above. Have you tried putting the "input" element in a "p" element?