Re: About tests 37-41 (headers)

Chris Ridpath wrote:

>> The HTML 4 DTDs forbid the nesting of form through exclusion:
>>
> The WCAG2 Techniques document (still draft) has a technique regarding 
> validation:
> http://www.w3.org/TR/WCAG20-TECHS/#G134
> 
> It states "HTML pages include a document type declaration (sometimes 
> referred to as !DOCTYPE statement) and are valid according to the HTML 
> version specified by the document type declaration."
> 
> So this technique will, in effect, forbid nested forms.

Only for HTML, not for XHTML.

   <form ...>
     <div>
       <form ...>
         ...
       </form>
     </div>
   </form>

is valid XHTML but not conforming to spec.
-- 
Johannes Koch
In te domine speravi; non confundar in aeternum.
                             (Te Deum, 4th cent.)

Received on Tuesday, 2 May 2006 15:06:32 UTC