Disable message - input element in form element

For technical support for all editions of CSE HTML Validator. Includes bug reports.

Disable message - input element in form element

Postby pensacolauser » Fri Apr 27, 2012 11:05 am

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.
pensacolauser
Rank 0 - Newcomer
Rank 0 - Newcomer
 
Posts: 3
Joined: Fri May 13, 2011 9:00 am

Re: Disable message - input element in form element

Postby Albert Wiersch » Fri Apr 27, 2012 2:19 pm

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?
Image
Albert Wiersch
User avatar
Albert Wiersch
Site Admin
Site Admin
 
Posts: 2361
Joined: Sat Dec 11, 2004 10:23 am
Location: Near Dallas, TX


Return to CSE Tech Support

Who is online

Users browsing this forum: No registered users and 3 guests